Skip to content

Commit a86e302

Browse files
author
Stanislav Idolov
authored
ENGCOM-1606: Responsive Design Footers bottom of screen on mobile devices #15118 #15353
2 parents 5068662 + e623b76 commit a86e302

File tree

1 file changed

+12
-2
lines changed
  • app/design/frontend/Magento/luma/Magento_Theme/web/css/source

1 file changed

+12
-2
lines changed

app/design/frontend/Magento/luma/Magento_Theme/web/css/source/_module.less

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@
262262
.copyright {
263263
.lib-css(background-color, @copyright__background-color);
264264
.lib-css(color, @color-white);
265+
box-sizing: border-box;
265266
display: block;
266267
padding: @indent__s;
267268
text-align: center;
@@ -313,13 +314,14 @@
313314
//
314315
// Widgets
315316
// ---------------------------------------------
316-
317+
// @codingStandardsIgnoreStart caused by bug in CodeSniffer implementation
317318
.sidebar {
318319
.widget.block:not(:last-child),
319320
.widget:not(:last-child) {
320321
margin-bottom: @indent__xl;
321322
}
322323
}
324+
// @codingStandardsIgnoreEnd
323325

324326
.widget {
325327
clear: both;
@@ -333,7 +335,9 @@
333335
.widget.block {
334336
.lib-css(margin, @indent__base 0);
335337
}
336-
.links .widget.block { margin: 0; }
338+
.links .widget.block {
339+
margin: 0;
340+
}
337341
}
338342

339343
.no-display:extend(.abs-no-display all) {
@@ -415,6 +419,12 @@
415419
}
416420
}
417421
}
422+
.page-footer,
423+
.copyright {
424+
bottom: 0;
425+
position: absolute;
426+
width: 100%;
427+
}
418428
}
419429

420430
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) {

0 commit comments

Comments
 (0)