Skip to content

Commit 7263dd3

Browse files
committed
wip(web): make the extensions list a scrollable table with a sticky header row
1 parent e422bc6 commit 7263dd3

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎web/static/css/containers.css‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1717,6 +1717,22 @@
17171717
margin-top: 12px;
17181718
}
17191719

1720+
/* table-like behavior: the list scrolls, the header row stays pinned */
1721+
@media screen and (min-width: 921px) {
1722+
#containers-wrap ul.extensionsList {
1723+
max-height: 65vh;
1724+
overflow-y: auto;
1725+
}
1726+
}
1727+
1728+
#containers-wrap li.extension.extHeader {
1729+
position: sticky;
1730+
top: 0;
1731+
z-index: 2;
1732+
/* opaque backing so scrolled rows don't show through */
1733+
background: #1B142C;
1734+
}
1735+
17201736
#containers-wrap li.extension {
17211737
border: 1px solid var(--borderColor);
17221738
padding: 5px 10px 0;

0 commit comments

Comments
 (0)