diff --git a/routes/_components/ModalDialog.html b/routes/_components/ModalDialog.html index de22ba7a..84b9280b 100644 --- a/routes/_components/ModalDialog.html +++ b/routes/_components/ModalDialog.html @@ -11,7 +11,6 @@ position: fixed; top: 50%; transform: translate(0, -50%); - background: #000; padding: 0; border: 3px solid var(--main-border); } @@ -28,8 +27,7 @@ background: var(--nav-bg) } .close-dialog-button { - margin: 0 0 2px; - padding: 0; + padding: 0 0 7px; background: none; border: none; } @@ -41,6 +39,13 @@ :global(dialog::backdrop, .backdrop) { background: rgba(51, 51, 51, 0.9) !important; /* TODO: hack for Safari */ } + + @media (max-width: 767px) { + .close-dialog-button span { + padding: 0 10px 4px; + font-size: 32px; + } + } \ No newline at end of file diff --git a/routes/_components/status/Media.html b/routes/_components/status/Media.html index 2828cf76..3e88eaed 100644 --- a/routes/_components/status/Media.html +++ b/routes/_components/status/Media.html @@ -2,53 +2,60 @@ style="grid-template-columns: repeat(auto-fit, minmax({{maxMediaWidth}}px, 1fr));" > {{#each mediaAttachments as media}} {{#if media.type === 'video'}} - - {{elseif media.type === 'gifv' && $autoplayGifs}} -