mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Hide chevron until hover to allow a bit more space for text
This commit is contained in:
@@ -167,6 +167,7 @@
|
||||
background-color: $color-body-bg;
|
||||
|
||||
&::after {
|
||||
display: none; // hide until hover
|
||||
top: 0.8em;
|
||||
right: 1em;
|
||||
font-size: 0.75em;
|
||||
@@ -174,6 +175,16 @@
|
||||
|
||||
.item {
|
||||
margin-top: 0;
|
||||
margin-right: 0; // full width until hover
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&::after {
|
||||
display: block;
|
||||
}
|
||||
.item {
|
||||
margin-right: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user