Browse Source

UI: Correct footer height if screen-width is to small (fixes #5878) (#5889) (#5889)

tags/v1.21.12.1
EpicCoder techknowlogick 7 years ago
parent
commit
a967cf9e99
3 changed files with 10 additions and 8 deletions
  1. +1
    -1
      public/css/index.css
  2. +7
    -2
      public/less/_base.less
  3. +2
    -5
      public/less/_home.less

+ 1
- 1
public/css/index.css
File diff suppressed because it is too large
View File


+ 7
- 2
public/less/_base.less View File

@@ -439,14 +439,13 @@ pre, code {
}

footer {
height: @footer-margin;
position: absolute;
background-color: white;
border-top: 1px solid #d6d6d6;
clear: both;
width: 100%;
color: #888888;
.container {
padding-top: 10px;
.fa {
width: 16px;
text-align: center;
@@ -467,6 +466,12 @@ footer {
overflow-y: auto;
margin-bottom: 7px;
}

.ui {
&.left, &.right {
line-height: 40px;
}
}
}

.hide {


+ 2
- 5
public/less/_home.less View File

@@ -49,13 +49,10 @@
}

footer {
@media only screen and (max-width: 880px) {
text-align: center;
}

.ui.container .left, .ui.container .right {
@media only screen and (max-width: 880px) {
display: inline;
display: block;
text-align: center;
float: none;
}
}


Loading…
Cancel
Save