Skip to content

Commit f23350e

Browse files
committed
changes
1 parent be9ea35 commit f23350e

1 file changed

Lines changed: 44 additions & 11 deletions

File tree

trackio/ui/components/runs_table.py

Lines changed: 44 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ def __init__(
8585
color: var(--body-text-color);
8686
border: 1px solid var(--border-color-primary);
8787
}
88-
.runs-table tbody tr:hover {
89-
background: var(--table-row-focus);
90-
}
9188
.runs-table tbody tr.selected {
9289
background: var(--color-accent-soft);
9390
}
@@ -99,43 +96,79 @@ def __init__(
9996
left: 0;
10097
background: var(--background-fill-primary);
10198
z-index: 2;
99+
border: 1px solid var(--border-color-primary);
100+
}
101+
.runs-table .checkbox-col::before {
102+
content: '';
103+
position: absolute;
104+
top: 0;
105+
bottom: 0;
106+
left: -1px;
107+
width: 1px;
108+
background: var(--border-color-primary);
109+
z-index: 100;
110+
pointer-events: none;
111+
}
112+
.runs-table .checkbox-col::after {
113+
content: '';
114+
position: absolute;
115+
top: 0;
116+
bottom: 0;
117+
right: -1px;
118+
width: 1px;
119+
background: var(--border-color-primary);
120+
z-index: 100;
121+
pointer-events: none;
102122
}
103123
.runs-table thead .checkbox-col {
104124
background: var(--background-fill-primary);
105125
z-index: 3;
106126
}
127+
.runs-table thead .checkbox-col::before,
128+
.runs-table thead .checkbox-col::after {
129+
z-index: 101;
130+
}
107131
.runs-table .name-col {
108132
position: sticky;
109133
left: 40px;
110134
background: var(--background-fill-primary);
111135
z-index: 2;
112-
border-right: none;
136+
border: 1px solid var(--border-color-primary);
137+
}
138+
.runs-table .name-col::before {
139+
content: '';
140+
position: absolute;
141+
top: 0;
142+
bottom: 0;
143+
left: -1px;
144+
width: 1px;
145+
background: var(--border-color-primary);
146+
z-index: 100;
147+
pointer-events: none;
113148
}
114149
.runs-table .name-col::after {
115150
content: '';
116151
position: absolute;
117-
right: -2px;
118152
top: 0;
119153
bottom: 0;
154+
right: -2px;
120155
width: 2px;
121156
background: var(--border-color-primary);
122-
z-index: 10;
157+
z-index: 100;
158+
pointer-events: none;
123159
}
124160
.runs-table thead .name-col {
125161
background: var(--background-fill-primary);
126162
z-index: 3;
127163
}
164+
.runs-table thead .name-col::before,
128165
.runs-table thead .name-col::after {
129-
z-index: 11;
166+
z-index: 101;
130167
}
131168
.runs-table tbody tr .checkbox-col,
132169
.runs-table tbody tr .name-col {
133170
background: var(--background-fill-primary);
134171
}
135-
.runs-table tbody tr:hover .checkbox-col,
136-
.runs-table tbody tr:hover .name-col {
137-
background: var(--table-row-focus);
138-
}
139172
.runs-table tbody tr.selected .checkbox-col,
140173
.runs-table tbody tr.selected .name-col {
141174
background: var(--color-accent-soft);

0 commit comments

Comments
 (0)