mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 11:15:05 +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;
|
||||
}
|
||||
|
||||
.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;
|
||||
|
Reference in New Issue
Block a user