mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
sidebars: Add easily adjustable space below sidebar filters.
(cherry picked from commit 4f08718163)
This commit is contained in:
@@ -297,6 +297,7 @@
|
||||
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;
|
||||
--sidebar-filter-bottom-spacing: 3px;
|
||||
|
||||
/* We base sidebar row heights on their line heights.
|
||||
Prominent rows include things like headers (e.g., VIEWS)
|
||||
|
||||
@@ -352,7 +352,8 @@
|
||||
top: 0;
|
||||
background: var(--color-background);
|
||||
/* Must be padding not margin so that the sticky headers don't show behind it */
|
||||
padding: 0 var(--left-sidebar-right-margin) 0 5px;
|
||||
padding: 0 var(--left-sidebar-right-margin)
|
||||
var(--sidebar-filter-bottom-spacing) 5px;
|
||||
|
||||
.channel-folders-sidebar-menu-icon {
|
||||
grid-area: channel-folders-option;
|
||||
|
||||
@@ -510,6 +510,7 @@
|
||||
/* The scrollbar doesn't extend this high, but we want the three-dot
|
||||
menus to line up. */
|
||||
padding-right: var(--width-simplebar-scroll-hover);
|
||||
padding-bottom: var(--sidebar-filter-bottom-spacing);
|
||||
background-color: var(--color-background);
|
||||
|
||||
#buddy-list-menu-icon {
|
||||
|
||||
Reference in New Issue
Block a user