Skip to content

Commit 7a3f01d

Browse files
committed
list view headers now anchored to top of view for scrolling #6497
Signed-off-by: si458 <simonsmith5521@gmail.com>
1 parent f8df941 commit 7a3f01d

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

public/styles/style-bootstrap.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,10 @@ NoMeshesPanel img {
11341134
#xdevices th {
11351135
color: gray;
11361136
text-align: center;
1137+
position: sticky;
1138+
top: 0;
1139+
z-index: 1;
1140+
background-color: var(--bs-body-bg);
11371141
}
11381142

11391143
#xdevicesmap {

public/styles/style.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -959,6 +959,17 @@ NoMeshesPanel img {
959959
-webkit-overflow-scrolling: touch;
960960
}
961961

962+
#xdevices th {
963+
position: sticky;
964+
top: 0;
965+
z-index: 1;
966+
background-color: white;
967+
}
968+
969+
.night #xdevices th {
970+
background-color: black;
971+
}
972+
962973
#xdevicesmap {
963974
height: calc(100vh - 239px);
964975
width: 100%;

0 commit comments

Comments
 (0)