mirror of
https://github.com/discourse/discourse.git
synced 2025-06-18 02:12:52 +08:00
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:
@ -23,19 +23,6 @@ html.composer-open {
|
|||||||
max-width: 740px;
|
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) {
|
@media screen and (width <= 1200px) {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
}
|
}
|
||||||
@ -50,6 +37,22 @@ html.composer-open {
|
|||||||
flex-direction: column;
|
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,
|
.saving-text,
|
||||||
.draft-text {
|
.draft-text {
|
||||||
display: none;
|
display: none;
|
||||||
|
Reference in New Issue
Block a user