aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/views/collections/collectionSchema/CollectionSchemaView.scss13
-rw-r--r--src/client/views/collections/collectionSchema/CollectionSchemaView.tsx4
2 files changed, 13 insertions, 4 deletions
diff --git a/src/client/views/collections/collectionSchema/CollectionSchemaView.scss b/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
index c96773298..55f320f14 100644
--- a/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
+++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
@@ -110,7 +110,7 @@
padding: 0;
z-index: 1;
border: 1px solid $medium-gray;
- overflow: hidden;
+ //overflow: hidden;
.schema-column-title {
flex-grow: 2;
@@ -136,11 +136,15 @@
.schema-column-resizer.right {
margin-left: 5px;
align-self: flex-end;
+ background-color: red;
+ display: none;
}
.schema-column-resizer.left {
- margin-right: 5px;
+ min-width: 5px;
+ transform: translate(-3px, 0px);
align-self: flex-start;
+ background-color: $medium-gray;
}
}
@@ -155,6 +159,7 @@
.schema-header-row {
background-color: $light-gray;
+ overflow: hidden;
}
.schema-header-row,
@@ -165,6 +170,10 @@
overflow: auto;
}
+.schema-header-row > .schema-column-header:nth-child(2) > .left {
+ display: none;
+}
+
.schema-table-cell,
.row-menu {
border: 1px solid $medium-gray;
diff --git a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
index 4fc4c4881..d079bf839 100644
--- a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
+++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
@@ -266,8 +266,8 @@ export class CollectionSchemaView extends CollectionSubView() {
change = this._displayColumnWidths[shrinking] - CollectionSchemaView._minColWidth;
}
- this._displayColumnWidths[shrinking] -= change;
- this._displayColumnWidths[growing] += change;
+ this._displayColumnWidths[shrinking] -= change * this.props.ScreenToLocalTransform().Scale;
+ this._displayColumnWidths[growing] += change * this.props.ScreenToLocalTransform().Scale;
return false;
}