Skip to content

Commit

Permalink
fix(content): hide overflow of expandable section and accordion conte…
Browse files Browse the repository at this point in the history
…nt (#2944)
  • Loading branch information
engai authored Dec 12, 2017
1 parent 02854fd commit 7fb7cb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/components/accordion/base/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
* @required
*/
.slds-accordion__content {
overflow: hidden;
visibility: hidden;
opacity: 0;
height: 0;
Expand All @@ -126,6 +127,7 @@
}

> .slds-accordion__content {
overflow: visible;
visibility: visible;
opacity: 1;
height: auto;
Expand Down
2 changes: 2 additions & 0 deletions ui/components/expandable-section/base/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
* @restrict .slds-section div
*/
&__content {
overflow: hidden;
visibility: hidden;
opacity: 0;
height: 0;
Expand All @@ -88,6 +89,7 @@

.slds-section__content {
padding-top: $spacing-small;
overflow: visible;
visibility: visible;
opacity: 1;
height: auto;
Expand Down

0 comments on commit 7fb7cb0

Please sign in to comment.