Skip to content

Commit

Permalink
Merge pull request #206 from liam-hq/fix-table-node-styles
Browse files Browse the repository at this point in the history
Fix table node styles(Align column types, adjust handle position, and round column corners in tables)
  • Loading branch information
MH4GF authored Dec 11, 2024
2 parents e68bdfb + 81a7c5e commit 27aced1
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
border-bottom: 1px solid var(--node-border);
}

.columnWrapper:last-child {
border-bottom-left-radius: var(--border-radius-md);
border-bottom-right-radius: var(--border-radius-md);
}

.primaryKeyIcon {
color: var(--primary-accent);
}
Expand All @@ -34,6 +39,7 @@
.columnNameWrapper {
display: inline-flex;
justify-content: space-between;
align-items: center;
}

.columnName {
Expand All @@ -60,3 +66,11 @@
.handle {
top: auto;
}

.handle[data-handlepos='right'] {
transform: translate(50%, 0%);
}

.handle[data-handlepos='left'] {
transform: translate(-50%, 0%);
}

0 comments on commit 27aced1

Please sign in to comment.