Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is a follow-up of 473878: Vertical tabs are totally hosed.
As we saw there, the layout can be accidentally broken if the style is overwritten in other css rules.
This patch adds div.vertical-tabs ul
to all the rules in vertical-tabs.css that start with .vertical-tabs-list li</li> and just for consistency <code>div
to all starting with .vertical-tabs
Comment | File | Size | Author |
---|---|---|---|
vertical-tabs.css_.patch | 2.52 KB | tic2000 | |
Comments
Comment #1
tic2000 CreditAttribution: tic2000 commentedComment #2
webchickThis looks like it makes sense to me, but I'd love a review from someone else who's good with CSS.
Comment #3
geerlingguy CreditAttribution: geerlingguy commentedLooks good to me. You can almost never be too specific when it comes to CSS specificity. Well, unless you add an id to every element. But that'd just be crazy!
Comment #4
webchickThanks. :) Committed to HEAD!