DEV: Dmenu add modifier (#29846)

This commit is contained in:
chapoi 2024-11-21 03:14:46 +01:00 committed by GitHub
parent f1bf63f89c
commit 58edabc2b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View File

@ -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>

View File

@ -30,15 +30,18 @@ html:not(.keyboard-visible.mobile-view) {
&__container {
// this is a hack to prevent issues on safari with transforms
position: 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 {