Merge pull request #2242 from LenAnderson/fix-qr-editor-narrow

fix QR editor on narrow screen
This commit is contained in:
Cohee 2024-05-15 23:05:24 +03:00 committed by GitHub
commit 8a5f05fb74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 18 additions and 4 deletions

View File

@ -209,6 +209,10 @@
justify-content: center; justify-content: center;
padding-bottom: 0.5em; padding-bottom: 0.5em;
} }
#qr--qrOptions {
display: flex;
flex-direction: column;
}
#qr--qrOptions > #qr--ctxEditor .qr--ctxItem { #qr--qrOptions > #qr--ctxEditor .qr--ctxItem {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -218,12 +222,16 @@
@media screen and (max-width: 750px) { @media screen and (max-width: 750px) {
body .dialogue_popup:has(#qr--modalEditor) .dialogue_popup_text > #qr--modalEditor { body .dialogue_popup:has(#qr--modalEditor) .dialogue_popup_text > #qr--modalEditor {
flex-direction: column; flex-direction: column;
overflow: auto;
}
body .dialogue_popup:has(#qr--modalEditor) .dialogue_popup_text > #qr--modalEditor > #qr--main {
flex: 0 0 auto;
} }
body .dialogue_popup:has(#qr--modalEditor) .dialogue_popup_text > #qr--modalEditor > #qr--main > .qr--labels { body .dialogue_popup:has(#qr--modalEditor) .dialogue_popup_text > #qr--modalEditor > #qr--main > .qr--labels {
flex-direction: column; flex-direction: column;
} }
body .dialogue_popup:has(#qr--modalEditor) .dialogue_popup_text > #qr--modalEditor > #qr--main > .qr--modal-messageContainer > #qr--modal-message { body .dialogue_popup:has(#qr--modalEditor) .dialogue_popup_text > #qr--modalEditor > #qr--main > .qr--modal-messageContainer > #qr--modal-messageHolder {
min-height: 90svh; min-height: 50svh;
} }
} }
.dialogue_popup:has(#qr--modalEditor) { .dialogue_popup:has(#qr--modalEditor) {

View File

@ -229,6 +229,8 @@
#qr--qrOptions { #qr--qrOptions {
display: flex;
flex-direction: column;
> #qr--ctxEditor { > #qr--ctxEditor {
.qr--ctxItem { .qr--ctxItem {
display: flex; display: flex;
@ -244,11 +246,15 @@
@media screen and (max-width: 750px) { @media screen and (max-width: 750px) {
body .dialogue_popup:has(#qr--modalEditor) .dialogue_popup_text > #qr--modalEditor { body .dialogue_popup:has(#qr--modalEditor) .dialogue_popup_text > #qr--modalEditor {
flex-direction: column; flex-direction: column;
overflow: auto;
> #qr--main {
flex: 0 0 auto;
}
> #qr--main > .qr--labels { > #qr--main > .qr--labels {
flex-direction: column; flex-direction: column;
} }
> #qr--main > .qr--modal-messageContainer > #qr--modal-message { > #qr--main > .qr--modal-messageContainer > #qr--modal-messageHolder {
min-height: 90svh; min-height: 50svh;
} }
} }
} }