A platform for community discussion. Free, open, simple.
DEV: Dmenu add modifier (#29846)
chapoi58edabc2b5e2
diff --git a/app/assets/javascripts/discourse/app/components/modal/discard-draft.gjs b/app/assets/javascripts/discourse/app/components/modal/discard-draft.gjsindex 0134fe7af96..10acf7e6d95 100644--- a/app/assets/javascripts/discourse/app/components/modal/discard-draft.gjs+++ b/app/assets/javascripts/discourse/app/components/modal/discard-draft.gjs@@ -20,7 +20,7 @@ export default class DiscardDraftModal extends Component {<template><DModal@closeModal={{@closeModal}}- class="discard-draft-modal"+ class="discard-draft-modal --stacked"@hideHeader={{true}}><:body>diff --git a/app/assets/stylesheets/mobile/modal.scss b/app/assets/stylesheets/mobile/modal.scssindex 77fba2fb88f..f77964c6854 100644--- a/app/assets/stylesheets/mobile/modal.scss+++ b/app/assets/stylesheets/mobile/modal.scss@@ -30,15 +30,18 @@ html:not(.keyboard-visible.mobile-view) {&__container {// this is a hack to prevent issues on safari with transformsposition: fixed;-width: 100%;max-width: 100%;- min-height: 45svh;max-height: calc(var(--composer-vh, var(--1dvh)) * 85);}&__footer {margin-top: auto;++ .--stacked & {+ flex-direction: column;+ align-items: stretch;+ }}.ios-device & {&__footer {