mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
The Vouchers tab pushed the White Label tab further down and it was hidden by the savebar. The CSS adjustment in this commit makes sure that users can always see all menu items. The automatic scrolling by Capybara fails because of the savebar but scrolling to the bottom works.
33 lines
573 B
SCSS
33 lines
573 B
SCSS
.side_menu {
|
|
border-right: 2px solid #f6f6f6;
|
|
border-top: 2px solid #f6f6f6;
|
|
|
|
/* Reserve space for the save bar to avoid hidden menu items. */
|
|
margin-bottom: 2em;
|
|
|
|
.menu_item {
|
|
display: block;
|
|
padding: 8px 15px;
|
|
font-size: 120%;
|
|
cursor: pointer;
|
|
text-transform: uppercase;
|
|
|
|
&:nth-child(odd) {
|
|
background-color: #ebf3fb;
|
|
}
|
|
|
|
&:nth-child(even) {
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: #eaf0f5;
|
|
}
|
|
|
|
&.selected {
|
|
background-color: $spree-blue;
|
|
color: #ffffff;
|
|
}
|
|
}
|
|
}
|