File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838
3939 ul li ul li a .active {
4040 @apply text-black dark:text-white font-medium bg-transparent;
41- & ::before {
42- content : '' ;
43- position : absolute;
44- left : -1px ;
45- @apply h-4 border-s border-s-black;
46- }
47- : where (.dark ) & ::before {
48- @apply border-s-gray-400;
49- }
5041 }
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;
42+ ul li ul li {
43+ a .active {
44+ /* [1] Add a little vertical line to indicate the "active" subnav item */
45+ & ::before {
46+ content : '' ;
47+ position : absolute;
48+ left : -1px ;
49+ @apply h-4 border-s border-s-black;
50+ }
51+ : where (.dark ) & ::before {
52+ @apply border-s-gray-400;
53+ }
5654 }
57- : where (.dark ) & ::before {
58- @apply border-s-gray-500;
55+ & : only-child a .active {
56+ /* [/2] Make the "active" subnav item less distracting for single-subnav items such as Assets/assets */
57+ & ::before {
58+ @apply border-s-gray-400;
59+ }
60+ : where (.dark ) & ::before {
61+ @apply border-s-gray-500;
62+ }
5963 }
6064 }
6165
You can’t perform that action at this time.
0 commit comments