mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
left_sidebar: Replace CSS a
selector with specific class selectors.
This commit simplifies the CSS selectors in the left sidebar styles by replacing generic `a` selectors with more specific class selectors. This change enhances the specificity of the styles, and improves the selectors' performance.
This commit is contained in:
@@ -198,11 +198,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.left-sidebar-navigation-area {
|
||||
& li a {
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
.left-sidebar-navigation-icon-container,
|
||||
.left-sidebar-navigation-label-container {
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -329,7 +328,8 @@
|
||||
line-height: var(--line-height-sidebar-row-prominent);
|
||||
|
||||
& li.dm-list-item {
|
||||
& a {
|
||||
.dm-box,
|
||||
.dm-name {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
outline: none;
|
||||
|
Reference in New Issue
Block a user