Skip to content

Commit 590140c

Browse files
committed
Settings: remove stray scrollbar on the Updates sub-nav (#323)
.storage-subnav set overflow-x:hidden, which makes the browser compute overflow-y to 'auto'; combined with the nav-links' -2px margin-bottom that produced a stray vertical scrollbar on the sub-nav bar. Drop the overflow clipping (only two short sub-tabs, flex-wrap:nowrap) — no scrollbar, and the active-tab underline is no longer at risk of being clipped.
1 parent 9d4c477 commit 590140c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

public/css/style.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,9 @@ body.bg-body-secondary {
589589
border-bottom: 2px solid var(--bs-border-color);
590590
padding-bottom: 0;
591591
flex-wrap: nowrap;
592-
overflow-x: hidden;
592+
/* No overflow clipping: setting overflow-x makes the browser compute
593+
overflow-y to 'auto', and the nav-links' -2px margin-bottom then
594+
triggers a stray vertical scrollbar on the sub-nav bar (#323). */
593595
}
594596
.storage-subnav .nav-link {
595597
color: var(--bs-secondary-color);

0 commit comments

Comments
 (0)