Commit 25c18ac 5 people authored and committed
1 parent f1abd8b commit 25c18ac Copy full SHA for 25c18ac
File tree 2 files changed +6
-1
lines changed
packages/edit-site/src/components/global-styles/font-library-modal
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,6 @@ function InstalledFonts() {
181
181
) ) }
182
182
</ >
183
183
) }
184
- < Spacer margin = { 16 } />
185
184
</ NavigatorScreen >
186
185
187
186
< NavigatorScreen path = "/fontFamily" >
Original file line number Diff line number Diff line change
1
+ // Fixed height for the modal footer.
2
+ // Ensures that the footer is always visible when the modal content is scrollable.
3
+ $footer-height : 70px ;
4
+
1
5
.font-library-modal {
2
6
// @todo: If a new prop is added to the Modal component that constrains
3
7
// the content width, we should use that prop instead of this style.
15
19
16
20
.components-modal__content {
17
21
padding-top : 0 ;
22
+ margin-bottom : $footer-height ;
18
23
}
19
24
20
25
.font-library-modal__subtitle {
40
45
position : absolute ;
41
46
bottom : $grid-unit-40 ;
42
47
width : 100% ;
48
+ height : $footer-height ;
43
49
background-color : $white ;
44
50
}
45
51
}
You can’t perform that action at this time.
0 commit comments