File tree Expand file tree Collapse file tree 2 files changed +20
-19
lines changed
app/design/frontend/Magento
blank/Magento_Theme/web/css/source
luma/Magento_Theme/web/css/source Expand file tree Collapse file tree 2 files changed +20
-19
lines changed Original file line number Diff line number Diff line change 5252 .lib-css (background-color , @page__background-color );
5353 }
5454
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+
5565 //
5666 // Header
5767 // ---------------------------------------------
279289// _____________________________________________
280290
281291.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-
288292 .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-
293293 > .breadcrumbs ,
294294 > .top-container ,
295295 > .widget {
Original file line number Diff line number Diff line change 6767 .lib-css (background-color , @page__background-color );
6868 }
6969
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+
7080 //
7181 // Header
7282 // ---------------------------------------------
411421 }
412422 }
413423 }
414- .page-footer ,
415- .copyright {
416- bottom : 0 ;
417- position : absolute ;
418- width : 100% ;
419- }
420424}
421425
422426.media-width (@extremum , @break ) when (@extremum = ' max' ) and (@break = @screen__s ) {
614618 }
615619
616620 .page-wrapper {
617- .lib-vendor-prefix-display (flex );
618- .lib-vendor-prefix-flex-direction (column );
619621 margin : 0 ;
620- min-height : 100% ; // Stretch content area for sticky footer
621622 position : relative ;
622623 transition : margin .3s ease-out 0s ;
623624
You can’t perform that action at this time.
0 commit comments