added to border-box value to box-sizing property for tablets so that the height property includes content and padding
This commit is contained in:
parent
437ecfbca8
commit
ed60bdf470
|
@ -188,11 +188,15 @@ div[collapsed="true"] > .expander + * {
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If the tablet is tall as well, add some padding to make content feel a bit more centered */
|
/* If the tablet is tall as well, add some padding to make content feel a bit more centered
|
||||||
|
border-box value of box-sizing property makes height property include both content and padding */
|
||||||
@media (min-height: 550px) {
|
@media (min-height: 550px) {
|
||||||
#errorPageContainer {
|
#errorPageContainer {
|
||||||
padding-top: 64px;
|
padding-top: 64px;
|
||||||
min-height: calc(100% - 64px);
|
min-height: calc(100% - 64px);
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user