UX: Fix scrolling of form template composer on mobile (#30883)

This was a regression in recent composer refactors, this change ensures the `with-form-template` container is scrollable.
This commit is contained in:
Penar Musaraj
2025-01-20 20:32:32 -05:00
committed by GitHub
parent 50f31813ec
commit 120f1afc91

View File

@ -23,19 +23,6 @@ html.composer-open {
max-width: 740px;
}
.with-form-template {
.toggle-preview,
#mobile-file-upload,
.submit-panel .mobile-preview {
display: none;
}
.d-editor-preview-wrapper {
display: none;
flex: 0;
}
}
@media screen and (width <= 1200px) {
min-width: 0;
}
@ -50,6 +37,22 @@ html.composer-open {
flex-direction: column;
}
.with-form-template {
overflow: auto;
flex: 1;
.toggle-preview,
#mobile-file-upload,
.submit-panel .mobile-preview {
display: none;
}
.d-editor-preview-wrapper {
display: none;
flex: 0;
}
}
.saving-text,
.draft-text {
display: none;