use more flexbox on the site
This commit is contained in:
parent
bf6a8b0e87
commit
52538c4fa6
1 changed files with 8 additions and 11 deletions
|
@ -1,15 +1,13 @@
|
||||||
body {
|
body {
|
||||||
margin-top: 58px;
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
position: fixed;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
top: 0;
|
|
||||||
height: 50px;
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
height: 50px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
@ -45,14 +43,13 @@ input {
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
main.map {
|
main.map {
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
top: 50px;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
/*noinspection CssUnknownTarget*/
|
/*noinspection CssUnknownTarget*/
|
||||||
background: url('../../img/loader.gif') no-repeat center;
|
background: url('../../img/loader.gif') no-repeat center;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
#map {
|
#map {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue