Don't anto-expand all content anchors on small screens

This commit is contained in:
Kenn Jacobsen
2020-07-28 08:33:14 +02:00
committed by Sebastiaan Janssen
parent f017514a10
commit 143f0c04a3

View File

@@ -54,8 +54,8 @@
.box-shadow(~"inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)");
}
&:focus-within &__anchor_dropdown,
&:hover &__anchor_dropdown {
&:focus-within > &__anchor_dropdown,
&:hover > &__anchor_dropdown {
visibility: visible;
opacity: 1;
transition: opacity 20ms 0;