2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

fixes #3905 - "Go back" button too low on high risk error pages (#4378)

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:
Mihai Adrian 2019-07-30 19:24:10 +03:00 committed by Jeff Boek
parent 437ecfbca8
commit ed60bdf470

View File

@ -188,11 +188,15 @@ div[collapsed="true"] > .expander + * {
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) {
#errorPageContainer {
padding-top: 64px;
min-height: calc(100% - 64px);
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
}
}