File tree Expand file tree Collapse file tree 3 files changed +20
-24
lines changed
app/design/frontend/Magento
Magento_Theme/web/css/source
luma/Magento_Theme/web/css/source Expand file tree Collapse file tree 3 files changed +20
-24
lines changed Original file line number Diff line number Diff line change 52
52
.lib-css (background-color , @page__background-color );
53
53
}
54
54
55
+ .page-wrapper {
56
+ .lib-vendor-prefix-display (flex );
57
+ .lib-vendor-prefix-flex-direction (column );
58
+ min-height : 100vh ; // Stretch content area for sticky footer
59
+ }
60
+
61
+ .page-main {
62
+ .lib-vendor-prefix-flex-grow (1 );
63
+ }
64
+
55
65
//
56
66
// Header
57
67
// ---------------------------------------------
279
289
// _____________________________________________
280
290
281
291
.media-width (@extremum , @break ) when (@extremum = ' min' ) and (@break = @screen__m ) {
282
-
283
- html ,
284
- body {
285
- height : 100% ; // Stretch screen area for sticky footer
286
- }
287
-
288
292
.page-wrapper {
289
- .lib-vendor-prefix-display (flex );
290
- .lib-vendor-prefix-flex-direction (column );
291
- min-height : 100% ; // Stretch content area for sticky footer
292
-
293
293
> .breadcrumbs ,
294
294
> .top-container ,
295
295
> .widget {
Original file line number Diff line number Diff line change 94
94
95
95
.page-main {
96
96
width : 100% ;
97
-
98
- .lib-vendor-prefix-flex-grow (1 );
99
- .lib-vendor-prefix-flex-shrink (0 );
100
- .lib-vendor-prefix-flex-basis (auto );
101
97
}
102
98
103
99
.columns {
Original file line number Diff line number Diff line change 67
67
.lib-css (background-color , @page__background-color );
68
68
}
69
69
70
+ .page-wrapper {
71
+ .lib-vendor-prefix-display (flex );
72
+ .lib-vendor-prefix-flex-direction (column );
73
+ min-height : 100vh ; // Stretch content area for sticky footer
74
+ }
75
+
76
+ .page-main {
77
+ .lib-vendor-prefix-flex-grow (1 );
78
+ }
79
+
70
80
//
71
81
// Header
72
82
// ---------------------------------------------
306
316
//
307
317
// Widgets
308
318
// ---------------------------------------------
309
-
310
319
.sidebar {
311
320
.widget.block :not (:last-child ),
312
321
.widget :not (:last-child ) {
411
420
}
412
421
}
413
422
}
414
- .page-footer ,
415
- .copyright {
416
- bottom : 0 ;
417
- position : absolute ;
418
- width : 100% ;
419
- }
420
423
}
421
424
422
425
.media-width (@extremum , @break ) when (@extremum = ' max' ) and (@break = @screen__s ) {
614
617
}
615
618
616
619
.page-wrapper {
617
- .lib-vendor-prefix-display (flex );
618
- .lib-vendor-prefix-flex-direction (column );
619
620
margin : 0 ;
620
- min-height : 100% ; // Stretch content area for sticky footer
621
621
position : relative ;
622
622
transition : margin .3s ease-out 0s ;
623
623
You can’t perform that action at this time.
0 commit comments