Center vertically slides in present mode and checkbox to disable transitions

This commit is contained in:
yflory
2017-05-11 10:58:33 +02:00
parent cf81b02096
commit 5d0535966c
6 changed files with 25 additions and 4 deletions

View File

@@ -161,7 +161,9 @@ div.modal, div#modal {
width: 100%;
}
#content {
transition: margin-left 1s;
&.transition {
transition: margin-left 1s;
}
font-size: 20vh;
position: relative;
height: 100%;
@@ -191,9 +193,10 @@ div.modal, div#modal {
margin: auto;
}
.slide-container {
display: inline-block;
display: inline-flex;
height: 100%; width: 100vw;
text-align: center;
vertical-align: top;
}
}