diff --git a/src/main/resources/META-INF/frontend/fcEnhancedTabs/fc-enhanced-tabs.css b/src/main/resources/META-INF/frontend/fcEnhancedTabs/fc-enhanced-tabs.css index c5cc200..9b6cd66 100644 --- a/src/main/resources/META-INF/frontend/fcEnhancedTabs/fc-enhanced-tabs.css +++ b/src/main/resources/META-INF/frontend/fcEnhancedTabs/fc-enhanced-tabs.css @@ -70,25 +70,13 @@ vaadin-menu-bar-list-box[theme="fc-enhanced-tabs"] vaadin-tab[selected]::before, vaadin-menu-bar-list-box[theme="fc-enhanced-tabs"] vaadin-tab[selected]::after { transform: translateY(50%) scale(1); } - -/* -:host([orientation="vertical"]) ::slotted(a[href]) { - justify-content: normal; -} - -:host([dir="rtl"][selected]:not([orientation="vertical"]))::before, :host([dir="rtl"][selected]:not([orientation="vertical"]))::after { - transform: translateX(50%) scale(1); +vaadin-menu-bar-list-box vaadin-tab { + flex-grow: 1 } -:host([orientation="vertical"][dir="rtl"]) { - transform-origin: 100% 50%; +vaadin-menu-bar-list-box vaadin-tab a[href] { + justify-content: normal; } -:host([dir="rtl"][orientation="vertical"])::before, :host([dir="rtl"][orientation="vertical"])::after { - left: auto; - right: 0; - border-radius: var(--lumo-border-radius) 0 0 var(--lumo-border-radius); - transform-origin: 0% 50%; -}*/