mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-14 20:25:56 +05:30
#118: press profile footer to bottom
This commit is contained in:
parent
c51bd17259
commit
0b1f88107b
@ -1,17 +1,22 @@
|
||||
.container {
|
||||
margin: 55px 10px 10px;
|
||||
min-height: 100%;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
|
||||
padding: 55px 10px 45px; // 45px for footer
|
||||
}
|
||||
|
||||
.footer {
|
||||
text-align: center;
|
||||
position: fixed;
|
||||
bottom: 10px;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
left: 0;
|
||||
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.container {
|
||||
margin-top: 20px;
|
||||
padding-top: 20px;
|
||||
}
|
||||
}
|
||||
|
@ -49,6 +49,10 @@ $userBarHeight: 50px;
|
||||
|
||||
// place for header
|
||||
min-height: 100%;
|
||||
// hack to enable min-height/height 100% in parent elements
|
||||
// http://stackoverflow.com/a/21836870/2039203
|
||||
// http://stackoverflow.com/questions/2341821/height100-vs-min-height100
|
||||
height: 0;
|
||||
box-sizing: border-box;
|
||||
padding-top: $userBarHeight;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user