diff --git a/scss/_tabs.scss b/scss/_tabs.scss index c54a1fb2b93..a4542116629 100644 --- a/scss/_tabs.scss +++ b/scss/_tabs.scss @@ -129,8 +129,8 @@ display: none; } -.tabs-icon-top .tab-item, -.tabs-icon-bottom .tab-item { +.tabs-icon-top > .tabs .tab-item, +.tabs-icon-bottom > .tabs .tab-item { font-size: $tabs-text-font-size-side-icon; line-height: $tabs-text-font-size; } @@ -142,8 +142,8 @@ font-size: $tabs-icon-size; } -.tabs-icon-left .tab-item, -.tabs-icon-right .tab-item { +.tabs-icon-left > .tabs .tab-item, +.tabs-icon-right > .tabs .tab-item { font-size: $tabs-text-font-size-side-icon; .icon { diff --git a/test/css/tab-bars-icons-bottom.html b/test/css/tab-bars-icons-bottom.html index 3db974548d8..1ddb0837eb3 100644 --- a/test/css/tab-bars-icons-bottom.html +++ b/test/css/tab-bars-icons-bottom.html @@ -5,7 +5,7 @@ - +

Tab Bars

@@ -24,8 +24,40 @@

Icons On Bottom Of Text

  • Homepage
  • +
    + +
    + +

    Marty McFly

    +

    November 05, 1955

    +
    + +
    +

    + This is a crude example of the parent tabs having .tabs-icon-bottom set, + while a nested tabs has .tabs-icon-left set. +

    +
    + + + +
    + - +