aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/components/_valo-menu.scss
diff options
context:
space:
mode:
Diffstat (limited to 'WebContent/VAADIN/themes/valo/components/_valo-menu.scss')
-rw-r--r--WebContent/VAADIN/themes/valo/components/_valo-menu.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_valo-menu.scss b/WebContent/VAADIN/themes/valo/components/_valo-menu.scss
index 6429dc0896..59d3ddca4b 100644
--- a/WebContent/VAADIN/themes/valo/components/_valo-menu.scss
+++ b/WebContent/VAADIN/themes/valo/components/_valo-menu.scss
@@ -75,6 +75,7 @@ $valo-menu-background-color: scale-color($v-app-background-color, $lightness: if
@include valo-menubar-borderless-style;
margin: round($v-unit-size/2) round($v-unit-size/5);
display: block;
+ overflow: hidden;
text-align: center;
height: auto;
color: inherit;
@@ -83,6 +84,7 @@ $valo-menu-background-color: scale-color($v-app-background-color, $lightness: if
color: inherit;
white-space: normal;
line-height: 1.4;
+ margin: 0;
img.v-icon {
width: round($v-unit-size * 1.5);
@@ -93,6 +95,13 @@ $valo-menu-background-color: scale-color($v-app-background-color, $lightness: if
margin: 0 auto .3em;
border: valo-border();
}
+
+ &:after {
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ }
}
.v-menubar-menuitem-selected {
@@ -150,6 +159,10 @@ $valo-menu-background-color: scale-color($v-app-background-color, $lightness: if
border-right: none;
}
+ .valo-menu-part {
+ overflow: visible;
+ }
+
.valo-menu-toggle {
display: inline-block;
}