FIX: in vertical mode, the coWebSite now open from the top
This commit is contained in:
parent
bbc42d2986
commit
f82551016a
2 changed files with 11 additions and 6 deletions
13
front/dist/resources/style/cowebsite.scss
vendored
13
front/dist/resources/style/cowebsite.scss
vendored
|
@ -88,21 +88,26 @@
|
|||
}
|
||||
}
|
||||
@media (max-aspect-ratio: 1/1) {
|
||||
|
||||
#main-container {
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
|
||||
|
||||
#cowebsite {
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-direction: column-reverse;
|
||||
|
||||
&.loading {
|
||||
transform: translateY(90%);
|
||||
transform: translateY(-90%);
|
||||
}
|
||||
&.hidden {
|
||||
transform: translateY(100%);
|
||||
transform: translateY(-100%);
|
||||
}
|
||||
|
||||
main {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue