fix(responsive-ui): Make modal full screen & fix prejoin layout on mobile landscape

This commit is contained in:
Vlad Piersec 2021-11-16 11:04:57 +02:00 committed by vp8x8
parent 1106e71f03
commit 31e4a9c1a0
2 changed files with 30 additions and 0 deletions

View File

@ -103,3 +103,20 @@ div.Tooltip {
line-height: 14px;
padding: 8px;
}
// make modal full screen on landscape orientation
@media (max-height: 420px) {
.atlaskit-portal {
.css-1oc7v0j {
height: 100%;
padding: 0;
max-width: 100%;
top: 0;
width: 100%;
&> div {
height: 100%;
}
}
}
}

View File

@ -170,6 +170,19 @@
}
}
// mobile phone landscape
@media (max-height: 420px) {
flex-direction: row;
div.content {
padding: 16px 16px 0 16px;
}
.con-status {
display: none;
}
}
@media (max-width: 400px) {
.content {
padding: 16px;