Apparently you can't transition height, so I need to change my strategy

This commit is contained in:
Dominik V. Salonen 2018-03-14 14:15:32 +01:00
parent 68262f3250
commit bb4ea64e79
1 changed files with 4 additions and 4 deletions

View File

@ -19,14 +19,15 @@ h1, h2, h3, h4, h5, p {
font-family: "Lato", sans-serif;
}
/* TODO: Add some @Media thing with smaller margin-top on vertical devices */
#content {
display: block;
margin-right: auto;
margin-left: auto;
width: 750px;
max-width: 90vw;
margin-top: 40vh;
transform: translateY(-50%)
margin-top: 25vh;
max-height: 50vh;
}
#main-container {
@ -36,7 +37,6 @@ h1, h2, h3, h4, h5, p {
border-radius: 5px 5px 0px 0px;
width: 100%;
box-shadow: 3px 3px 7px rgba(0,0,0,0.25);
transition: height 0.15s ease-in-out;
}
#navbar {