Skip to content

Commit

Permalink
#1228 Updates CSS specificity
Browse files Browse the repository at this point in the history
  • Loading branch information
timurtripp committed Aug 21, 2024
1 parent 0285b59 commit 7c1f3ce
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions css/ucb-accordion-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -337,13 +337,21 @@
display: none;
}

.horizontal-tab-content .accordion-item,
.vertical-tab-content .accordion-item {
.horizontal-tab-content > .accordion > .accordion-item,
.vertical-tab-content > .accordion > .accordion-item {
border-bottom: none;
}

.horizontal-tab-content .accordion-body,
.vertical-tab-content .accordion-body {
.horizontal-tab-content
> .accordion
> .accordion-item
> .accordion-collapse
> .accordion-body,
.vertical-tab-content
> .accordion
> .accordion-item
> .accordion-collapse
> .accordion-body {
padding-top: 20px;
padding-bottom: 0;
}
Expand Down

0 comments on commit 7c1f3ce

Please sign in to comment.