Skip to content

Commit

Permalink
feat: improve border color for table
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Jul 16, 2024
1 parent 12387e1 commit e144652
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions projects/editor/src/components/editor-socket/styles/table.less
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ table td {
position: relative;
min-width: 1em;
height: 2rem;
border: 0.125rem solid var(--tui-background-neutral-1-hover);
padding: 0.1875rem 0.3125rem;
vertical-align: top;
box-sizing: border-box;
Expand All @@ -34,8 +33,7 @@ table th {
position: relative;
min-width: 1em;
height: 2rem;
border: 2px solid var(--tui-background-neutral-1-hover);
padding: 0.1875rem 0.3125;
padding: 0.1875rem 0.3125rem;
vertical-align: top;
box-sizing: border-box;
word-break: break-word;
Expand All @@ -45,6 +43,15 @@ table th {
min-height: 2rem;
}

table td,
table th {
border: 0.125rem solid rgb(233, 233, 231);

[tuiTheme='dark'] & {
border: 0.125rem solid rgb(47, 47, 47);
}
}

/* stylelint-disable-next-line */
table .column-resize-handle {
position: absolute;
Expand Down

0 comments on commit e144652

Please sign in to comment.