mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
css: Use classnames for settings page .sidebar li items.
Having the > ul selector there affects the performance. See https://chat.zulip.org/#narrow/stream/6-frontend/topic/CSS.20selector.20performance/near/1845719 for more details.
This commit is contained in:
committed by
Tim Abbott
parent
3afc34050b
commit
f38fe78e53
@@ -1419,12 +1419,6 @@ $option_title_width: 180px;
|
||||
border-bottom: 1px solid hsl(0deg 0% 87%);
|
||||
}
|
||||
|
||||
& ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.sidebar-item {
|
||||
display: grid;
|
||||
/* 3.5714em is 50px at 14px/1em -- the legacy height of these rows. */
|
||||
@@ -1484,6 +1478,9 @@ $option_title_width: 180px;
|
||||
.normal-settings-list,
|
||||
.org-settings-list {
|
||||
position: relative;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user