aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
diff options
context:
space:
mode:
authormehekj <mehek.jethani@gmail.com>2022-08-18 14:08:31 -0400
committermehekj <mehek.jethani@gmail.com>2022-08-18 14:08:31 -0400
commit330752fa253b61136b78ce7147e09e9d6004f833 (patch)
tree1fb6f42a71df229b8cd98e3f1bd577fd9fcdb3d3 /src/client/views/collections/collectionSchema/CollectionSchemaView.scss
parentfb1e291b1bed4b60a645030b4a79c0760ba73fdc (diff)
added external drop and column resize
Diffstat (limited to 'src/client/views/collections/collectionSchema/CollectionSchemaView.scss')
-rw-r--r--src/client/views/collections/collectionSchema/CollectionSchemaView.scss32
1 files changed, 31 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionSchema/CollectionSchemaView.scss b/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
index 83164a82a..1d0ab459d 100644
--- a/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
+++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
@@ -11,11 +11,12 @@
.schema-row {
display: flex;
flex-direction: row;
+ max-height: 70px;
+ overflow: auto;
.schema-column-header,
.schema-table-cell,
.row-menu {
- min-width: 50px;
border: 1px solid $medium-gray;
padding: 5px;
overflow: hidden;
@@ -31,6 +32,34 @@
flex-direction: row;
justify-content: space-between;
align-items: center;
+ padding: 0;
+
+ .schema-column-title {
+ flex-grow: 2;
+ margin: 5px;
+ }
+
+ .schema-header-menu {
+ margin: 5px;
+ }
+
+ .schema-column-resizer {
+ height: 100%;
+ width: 3px;
+ cursor: ew-resize;
+
+ &:hover {
+ background-color: $light-blue;
+ }
+ }
+
+ .schema-column-resizer.right {
+ align-self: flex-end;
+ }
+
+ .schema-column-resizer.left {
+ align-self: flex-start;
+ }
}
}
@@ -41,6 +70,7 @@
display: flex;
flex-direction: row;
justify-content: center;
+ min-width: 50px;
}
.row-cells {