[ion/simulator/web] The buttons should appear in the browser window

When the window height is very small, there are still some problems with
the buttons, that are half out of the window
This commit is contained in:
Léa Saviot
2020-02-20 10:02:22 +01:00
committed by EmilieNumworks
parent 754110d5c6
commit 526a9e550c

View File

@@ -62,7 +62,7 @@ a.action svg {
text-align: left; }
.calculator > img {
/* Rely on the img content to set the dimensions */
max-height: 100vh;
max-height: 92.0vh;
max-width: 100%;
display: block; }
.calculator .screen {
@@ -74,7 +74,7 @@ a.action svg {
border: 0 none; }
.calculator .actions {
position: absolute;
bottom: 2%;
top: 94.0vh;
text-align: center;
left: 0;
right: 0;
@@ -82,7 +82,7 @@ a.action svg {
}
.calculator .actions a {
display: inline-block;
margin-right: 10px;
margin-right: 10px;
}
.calculator .keyboard {
position: absolute;