fix: Intro-Video passt sich dem Format an, keine schwarzen Balken bei Hochformat
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
7745d5862d
commit
2be1de6a63
1 file changed
+3
-2
@@ -33,8 +33,9 @@ export function IntroVideoSection({ video, showDrafts }: { video: IntroVideo; sh
|
|||||||
playsInline
|
playsInline
|
||||||
preload={poster ? "none" : "metadata"}
|
preload={poster ? "none" : "metadata"}
|
||||||
aria-label="Video ARTISTA Modelcamp"
|
aria-label="Video ARTISTA Modelcamp"
|
||||||
// Eigenes Seitenverhaeltnis (quer oder hoch), wie bei den Reels.
|
// Groesse folgt dem Video (quer oder hoch): ohne volle Breite keine
|
||||||
className="mx-auto block max-h-[85vh] w-full rounded-2xl bg-black object-contain"
|
// schwarzen Balken neben einem Hochformat-Video.
|
||||||
|
className="mx-auto block h-auto max-h-[85vh] w-auto max-w-full rounded-2xl bg-black"
|
||||||
>
|
>
|
||||||
<track kind="captions" />
|
<track kind="captions" />
|
||||||
</video>
|
</video>
|
||||||
|
|||||||
Reference in new issue
Block a user