Skip to content

Commit

Permalink
ENGCOM-1606: Responsive Design Footers bottom of screen on mobile dev…
Browse files Browse the repository at this point in the history
…ices #15118 #15353
  • Loading branch information
Stanislav Idolov authored May 23, 2018
2 parents 5068662 + e623b76 commit a86e302
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@
.copyright {
.lib-css(background-color, @copyright__background-color);
.lib-css(color, @color-white);
box-sizing: border-box;
display: block;
padding: @indent__s;
text-align: center;
Expand Down Expand Up @@ -313,13 +314,14 @@
//
// Widgets
// ---------------------------------------------

// @codingStandardsIgnoreStart caused by bug in CodeSniffer implementation
.sidebar {
.widget.block:not(:last-child),
.widget:not(:last-child) {
margin-bottom: @indent__xl;
}
}
// @codingStandardsIgnoreEnd

.widget {
clear: both;
Expand All @@ -333,7 +335,9 @@
.widget.block {
.lib-css(margin, @indent__base 0);
}
.links .widget.block { margin: 0; }
.links .widget.block {
margin: 0;
}
}

.no-display:extend(.abs-no-display all) {
Expand Down Expand Up @@ -415,6 +419,12 @@
}
}
}
.page-footer,
.copyright {
bottom: 0;
position: absolute;
width: 100%;
}
}

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

0 comments on commit a86e302

Please sign in to comment.