Skip to content

Commit a967cf9

Browse files
EpicCodertechknowlogick
authored andcommitted
UI: Correct footer height if screen-width is to small (fixes #5878) (#5889) (#5889)
1 parent 16678f5 commit a967cf9

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

public/css/index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/less/_base.less

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,14 +439,13 @@ pre, code {
439439
}
440440

441441
footer {
442-
height: @footer-margin;
442+
position: absolute;
443443
background-color: white;
444444
border-top: 1px solid #d6d6d6;
445445
clear: both;
446446
width: 100%;
447447
color: #888888;
448448
.container {
449-
padding-top: 10px;
450449
.fa {
451450
width: 16px;
452451
text-align: center;
@@ -467,6 +466,12 @@ footer {
467466
overflow-y: auto;
468467
margin-bottom: 7px;
469468
}
469+
470+
.ui {
471+
&.left, &.right {
472+
line-height: 40px;
473+
}
474+
}
470475
}
471476

472477
.hide {

public/less/_home.less

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,10 @@
4949
}
5050

5151
footer {
52-
@media only screen and (max-width: 880px) {
53-
text-align: center;
54-
}
55-
5652
.ui.container .left, .ui.container .right {
5753
@media only screen and (max-width: 880px) {
58-
display: inline;
54+
display: block;
55+
text-align: center;
5956
float: none;
6057
}
6158
}

0 commit comments

Comments
 (0)