fix: prevent videos from clipping when in fullscreen mode (#1397)

Co-authored-by: Tomasz Rymkiewicz <kreha1@pm.me>
pull/1672/head
Alexander Harding 2023-02-07 08:32:37 -06:00 zatwierdzone przez GitHub
rodzic 2128d11238
commit 36191c500f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -104,6 +104,7 @@ const userSettings = useUserSettings()
controls
rounded-lg
object-cover
fullscreen:object-contain
:width="attachment.meta?.original?.width"
:height="attachment.meta?.original?.height"
:style="{

Wyświetl plik

@ -9,6 +9,8 @@ import {
transformerVariantGroup,
} from 'unocss'
import { variantParentMatcher } from '@unocss/preset-mini/utils'
export default defineConfig({
shortcuts: [
{
@ -119,6 +121,7 @@ export default defineConfig({
layer: 'native-mac',
}
},
variantParentMatcher('fullscreen', '@media (display-mode: fullscreen)'),
],
rules: [
// scrollbar-hide