Fixing the popup position on larger screens

Fixing the popup position on larger screens; Smaller screens still get the current rendering experience.
This commit is contained in:
patriceac 2022-11-08 02:17:26 -08:00
parent 47f7c938ae
commit a68ebd2b76

View File

@ -706,7 +706,7 @@ input::file-selector-button {
} }
.popup { .popup {
position: fixed; position: absolute;
background: rgba(32, 33, 36, 50%); background: rgba(32, 33, 36, 50%);
top: 0px; top: 0px;
left: 0px; left: 0px;
@ -717,6 +717,12 @@ input::file-selector-button {
transition: 0s visibility, 0.3s opacity; transition: 0s visibility, 0.3s opacity;
} }
@media only screen and (min-height: 1050px) {
.popup {
position: fixed;
}
}
.popup > div { .popup > div {
position: relative; position: relative;
background: var(--background-color2); background: var(--background-color2);