1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 14:26:28 +02:00

fix(frontend): チャットに動画ファイルを送付すると、動画の表示が崩れてしまい視聴出来ない問題を修正

Fix #15854
This commit is contained in:
syuilo
2025-05-29 17:44:30 +09:00
parent 0f6b28f970
commit 85d339ee91
3 changed files with 20 additions and 3 deletions

View File

@@ -10,7 +10,8 @@ SPDX-License-Identifier: AGPL-3.0-only
tail === 'left' ? $style.left : $style.right,
negativeMargin === true && $style.negativeMargin,
shadow === true && $style.shadow,
accented === true && $style.accented
accented === true && $style.accented,
fullWidth === true && $style.fullWidth,
]"
>
<div :class="$style.bg">
@@ -32,11 +33,13 @@ withDefaults(defineProps<{
negativeMargin?: boolean;
shadow?: boolean;
accented?: boolean;
fullWidth?: boolean;
}>(), {
tail: 'right',
negativeMargin: false,
shadow: false,
accented: false,
fullWidth: false,
});
</script>
@@ -73,6 +76,14 @@ withDefaults(defineProps<{
margin-right: calc(calc(var(--fukidashi-radius) * .13) * -1);
}
}
&.fullWidth {
width: 100%;
&.content {
width: 100%;
}
}
}
.bg {
@@ -85,6 +96,7 @@ withDefaults(defineProps<{
.content {
position: relative;
padding: 10px 14px;
box-sizing: border-box;
}
@container (max-width: 450px) {