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:
Sayam Samal
2025-07-26 01:04:01 +05:30
committed by Tim Abbott
parent dca7f71fca
commit b24b3c49db

View File

@@ -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;