Fix overflow issue
This commit is contained in:
parent
b50959b3cc
commit
dcf99e1c99
1 changed files with 7 additions and 3 deletions
10
style.css
10
style.css
|
|
@ -21,17 +21,19 @@ body {
|
||||||
display: flex;
|
display: flex;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 100vh;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
min-height: 100vh;
|
||||||
|
max-width: 100vw;
|
||||||
background-color: var(--dark-green);
|
background-color: var(--dark-green);
|
||||||
color: var(--light-text);
|
color: var(--light-text);
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
padding: 15px 0;
|
padding: 15px 0;
|
||||||
background-color: var(--dark-trans);
|
background-color: var(--dark-trans);
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
header h1 {
|
header h1 {
|
||||||
|
|
@ -48,6 +50,7 @@ main {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calculator {
|
.calculator {
|
||||||
|
|
@ -117,7 +120,7 @@ button:active, .active {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 115%;
|
bottom: 115%;
|
||||||
right: -15%;
|
left: 0%;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|
||||||
width: 120px;
|
width: 120px;
|
||||||
|
|
@ -180,4 +183,5 @@ footer a {
|
||||||
footer a:hover, footer a:focus {
|
footer a:hover, footer a:focus {
|
||||||
color: rgb(170, 255, 0);
|
color: rgb(170, 255, 0);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue