style(web): use 3:4 aspect ratio for viewers
This commit is contained in:
@@ -36,7 +36,7 @@ export default function PdfViewer({ object }: { object: TTSObject }) {
|
|||||||
<iframe
|
<iframe
|
||||||
src={proxied}
|
src={proxied}
|
||||||
title="PDF preview"
|
title="PDF preview"
|
||||||
className="h-[70vh] w-full rounded-lg border border-zinc-800 bg-zinc-950"
|
className="aspect-[3/4] w-full rounded-lg border border-zinc-800 bg-zinc-950"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ export default function Scene({
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
ref={containerRef}
|
ref={containerRef}
|
||||||
className="relative h-80 w-full overflow-hidden rounded-lg bg-linear-to-b from-zinc-300 to-zinc-400"
|
className="relative aspect-[3/4] w-full overflow-hidden rounded-lg bg-linear-to-b from-zinc-300 to-zinc-400"
|
||||||
>
|
>
|
||||||
<LoadingOverlay />
|
<LoadingOverlay />
|
||||||
{fullscreen && (
|
{fullscreen && (
|
||||||
|
|||||||
Reference in New Issue
Block a user