Skip to content

Commit 7fb7cb0

Browse files
authored
fix(content): hide overflow of expandable section and accordion content (#2944)
1 parent 02854fd commit 7fb7cb0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ui/components/accordion/base/_index.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
* @required
104104
*/
105105
.slds-accordion__content {
106+
overflow: hidden;
106107
visibility: hidden;
107108
opacity: 0;
108109
height: 0;
@@ -126,6 +127,7 @@
126127
}
127128

128129
> .slds-accordion__content {
130+
overflow: visible;
129131
visibility: visible;
130132
opacity: 1;
131133
height: auto;

ui/components/expandable-section/base/_index.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
* @restrict .slds-section div
6363
*/
6464
&__content {
65+
overflow: hidden;
6566
visibility: hidden;
6667
opacity: 0;
6768
height: 0;
@@ -88,6 +89,7 @@
8889

8990
.slds-section__content {
9091
padding-top: $spacing-small;
92+
overflow: visible;
9193
visibility: visible;
9294
opacity: 1;
9395
height: auto;

0 commit comments

Comments
 (0)