fix(toc): 🐛 fix transparent ToC button

This commit is contained in:
alistair3149 2024-07-08 15:35:01 -04:00
parent 20e4f7ec6e
commit aaa677f2d6
No known key found for this signature in database

View file

@ -123,10 +123,6 @@
}
.citizen-dropdown {
&-details[ open ] + .citizen-menu__card {
pointer-events: auto; // HACK: Make ToC clickable after ToC is expanded
}
&-summary {
position: absolute;
bottom: 0;
@ -150,6 +146,16 @@
background: ~'linear-gradient( var( --background-color-button-quiet--active ), var( --background-color-button-quiet--active ) ) var( --color-surface-1 )';
}
}
&-details[ open ] {
+ .citizen-menu__card {
pointer-events: auto; // HACK: Make ToC clickable after ToC is expanded
}
> .citizen-dropdown-summary {
background: ~'linear-gradient( var( --background-color-button-quiet--active ), var( --background-color-button-quiet--active ) ) var( --color-surface-1 )';
}
}
}
}
}