Skip to content

Commit 44c8909

Browse files
committed
Make the "active" subnav item less distracting for single-subnav items such as Assets/assets
1 parent 03b84c2 commit 44c8909

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

resources/css/core/layout.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,17 @@
4545
@apply h-4 border-s border-s-black;
4646
}
4747
:where(.dark) &::before {
48-
@apply border-s-white;
48+
@apply border-s-gray-400;
49+
}
50+
}
51+
52+
/* Less distracting for single-subnav items */
53+
ul li ul li:only-child a.active {
54+
&::before {
55+
@apply border-s-gray-400;
56+
}
57+
:where(.dark) &::before {
58+
@apply border-s-gray-500;
4959
}
5060
}
5161

0 commit comments

Comments
 (0)