Skip to content

Commit ca946b9

Browse files
authored
fix(scss notation): fix & notation for touch menus overflow (#5011)
1 parent 30b0f60 commit ca946b9

File tree

1 file changed

+32
-28
lines changed

1 file changed

+32
-28
lines changed

ui/touch/menus/action-overflow/_index.scss

Lines changed: 32 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,36 +9,40 @@
99
bottom: 0;
1010
left: 0;
1111
z-index: ($z-index-modal + 1);
12+
}
1213

13-
&__container {
14-
position: relative;
15-
display: flex;
16-
flex-direction: column;
17-
justify-content: flex-end;
18-
height: 100%;
19-
}
14+
.slds-action-overflow_touch__container,
15+
.slds-action-overflow--touch__container {
16+
position: relative;
17+
display: flex;
18+
flex-direction: column;
19+
justify-content: flex-end;
20+
height: 100%;
21+
}
2022

21-
&__content {
22-
padding-top: 33.333%;
23-
overflow: hidden;
24-
overflow-y: auto;
25-
}
23+
.slds-action-overflow_touch__content,
24+
.slds-action-overflow--touch__content {
25+
padding-top: 33.333%;
26+
overflow: hidden;
27+
overflow-y: auto;
28+
}
2629

27-
&__body {
28-
// make sure the content is cut-off mid-text, per spec, so overflow is more apparent
29-
position: relative;
30-
top: $spacing-x-large;
31-
// box-styling
32-
background: $color-background-alt;
33-
box-shadow: $shadow-overlay;
34-
}
30+
.slds-action-overflow_touch__body,
31+
.slds-action-overflow--touch__body {
32+
// make sure the content is cut-off mid-text, per spec, so overflow is more apparent
33+
position: relative;
34+
top: $spacing-x-large;
35+
// box-styling
36+
background: $color-background-alt;
37+
box-shadow: $shadow-overlay;
38+
}
3539

36-
&__footer {
37-
position: relative;
38-
flex-shrink: 0;
39-
border-top: $border-width-thin solid $color-border;
40-
padding: $spacing-small $spacing-medium;
41-
background-color: $color-background;
42-
box-shadow: $shadow-action-overflow-footer;
43-
}
40+
.slds-action-overflow_touch__footer,
41+
.slds-action-overflow--touch__footer {
42+
position: relative;
43+
flex-shrink: 0;
44+
border-top: $border-width-thin solid $color-border;
45+
padding: $spacing-small $spacing-medium;
46+
background-color: $color-background;
47+
box-shadow: $shadow-action-overflow-footer;
4448
}

0 commit comments

Comments
 (0)