sidebars: Use pixels for the sidebar spacing.

This, as well as increasing the spacing by 5px, ensures that the left
sidebar bottom elements aren't overlapped by URLs that the browser
shows in the corner when hovering links.
This commit is contained in:
evykassirer
2024-12-05 15:21:28 -08:00
committed by Tim Abbott
parent 2fdb47ab4d
commit e36971c7e1

View File

@@ -275,8 +275,11 @@
);
--right-sidebar-left-spacing: 5px;
/* Used in both left and right sidebar at the bottom, to allow
the user to scroll past the bottom-most elements a little bit. */
--sidebar-bottom-spacing: 1.4286em; /* 20px / 14px em */
the user to scroll past the bottom-most elements a little bit.
Value is chosen to avoid elements overlapping with the browser's URL
display when hovering links, and should not scale with font size. */
--sidebar-bottom-spacing: 25px;
/* We base sidebar row heights on their line heights.
Prominent rows include things like headers (e.g., VIEWS)