After upgrading to Drupal 8.7.5 on a site that uses the Seven theme for the Administrative Theme, the vertical tabs started appearing as a bulleted list.
This is related to the issue "Fix RTL styles of Vertical tabs in Seven Theme (3055760)". It changed the CSS file used for the vertical tabs in Seven's info.yml file to use the following:
core/drupal.vertical-tabs:
css:
component:
/core/themes/stable/css/core/vertical-tabs.css: false
The Stable Theme's vertical-tabs.css file does not have the style for the vertical-tabs__menu class. Specifically this property is missing:
list-style: none;
I propose adding that property to core/themes/seven/css/components/vertical-tabs.css
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 3075912-8.7.x.png | 24.08 KB | indrajithkb |
| #7 | 3075912-8.8.x.png | 25.18 KB | indrajithkb |
| #5 | tabs.png | 116.02 KB | poojakural |
| #5 | tab.png | 57.41 KB | poojakural |
| #2 | seven-theme-vertical-tabs-appear-as-bulleted-list-3075912-2.patch | 454 bytes | beefheartfan |
Comments
Comment #2
beefheartfan commentedAttached is my patch for adding the list-style: none; property to the vertical-tabs__menu class.
Comment #4
poojakural commentedComment #5
poojakural commented@beefheartfan can you provide the step to reproduce.
I have tested on Drupal 8.8.6 with field group group tabs and tab option. Not able to see this kind of issue. Please refer the SS.
Comment #6
poojakural commentedPlease refer my above comments. Need more information on it
Comment #7
indrajithkb commentedHi @poojakural you are right the issue is not there.
This has fixed with#3028675 (patch #10)
8.7.x
8.8.x
@beefheartfan you can close this issue as outdated.
Comment #8
indrajithkb commentedComment #10
alexpottYep this was fixed #3028675: Vertical Tabs are unnecessarily hiding content with overflow: hidden