File tree Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -132,17 +132,6 @@ class Page extends UI5Element {
132
132
get _contentTop ( ) {
133
133
return this . header . length ? "2.75rem" : "0rem" ;
134
134
}
135
-
136
- get styles ( ) {
137
- return {
138
- content : {
139
- "padding-bottom" : this . footer . length && this . _contentPaddingBottom ,
140
- "scroll-padding-bottom" : this . footer . length && this . _contentPaddingBottom ,
141
- "bottom" : this . footer . length && this . _contentBottom ,
142
- "top" : this . _contentTop ,
143
- } ,
144
- } ;
145
- }
146
135
}
147
136
148
137
Page . define ( ) ;
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export default function PageTemplate(this: Page) {
15
15
class = "ui5-page-content-root" style = { {
16
16
"padding-bottom" : this . footer . length && this . _contentPaddingBottom ,
17
17
"scroll-padding-bottom" : this . footer . length && this . _contentPaddingBottom ,
18
+ "margin-bottom" : this . footer . length && this . _contentBottom ,
18
19
"bottom" : this . footer . length && this . _contentBottom ,
19
20
"top" : this . _contentTop ,
20
21
} } >
Original file line number Diff line number Diff line change 13
13
z-index : 0 ;
14
14
box-sizing : border-box;
15
15
background-color : inherit;
16
+ display : flex;
17
+ flex-direction : column;
16
18
}
17
19
18
20
.ui5-page-header-root {
19
21
z-index : 1 ;
22
+ flex-shrink : 0 ;
20
23
}
21
24
22
25
.ui5-page-content-root {
23
26
overflow : hidden auto;
24
- position : absolute;
25
27
will-change : scroll-position;
26
- width : 100% ;
27
- top : 2.75rem ;
28
- bottom : 0 ;
28
+ flex : 1 ;
29
29
box-sizing : border-box;
30
30
font-size : var (--sapFontSize );
31
31
color : var (--sapTextColor );
You can’t perform that action at this time.
0 commit comments