mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Fix footer overlap #848
- Added footer responsive layout for tablets too - Fixed footer ovelap on Laptop media screen
This commit is contained in:
1 parent
89ceb98273
commit
0e80bb9b02
3 files changed
+21
-8
No files matched your search
@@ -1,5 +1,6 @@
|
||||
body {
|
||||
padding-top: 70px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.nav .glyphicon,
|
||||
@@ -86,17 +87,28 @@ footer .license-info {
|
||||
|
||||
html {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
body {
|
||||
/* Margin bottom by footer height */
|
||||
margin-bottom: 60px;
|
||||
|
||||
body, html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#wrapper{
|
||||
min-height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#container-wrapper{
|
||||
/*covers for footer height */
|
||||
padding-bottom: 150px;
|
||||
}
|
||||
|
||||
footer {
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
footer license-info p{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/* Responsive queries */
|
||||
/* Smartphone */
|
||||
|
||||
@media screen and (max-width: 660px) {
|
||||
@media only screen and (min-width: 320px) and (max-width: 768px) {
|
||||
footer{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user