mirror of
https://github.com/liubinfighter/csv-lite.git
synced 2026-07-22 05:43:52 +00:00
style: add left border to sticky columns and headers in CSV table for improved visual distinction #12
This commit is contained in:
parent
7ed9ef3a6b
commit
be03fe676a
1 changed files with 10 additions and 0 deletions
10
styles.css
10
styles.css
|
|
@ -894,3 +894,13 @@ td.csv-row-number{
|
|||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
/* 固定列的左侧边界标记(非首列) */
|
||||
.csv-sticky-col:not(:first-child) {
|
||||
border-left: 1.5px solid var(--interactive-accent-hover) !important;
|
||||
}
|
||||
|
||||
/* 如果是表头固定列也要有左边界 */
|
||||
.csv-sticky-header.csv-sticky-col:not(:first-child) {
|
||||
border-left: 2px solid var(--interactive-accent) !important;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue