Size HTML firmware previews by board (480x320 for 3.5).
EOF Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -36,7 +36,13 @@ export function FirmwareDetail({
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div className="aspect-[4/3] w-full border-b border-[var(--line)] bg-black/40">
|
||||
<div
|
||||
className={
|
||||
fw.boardId === "esp32-3248s035"
|
||||
? "aspect-[3/2] w-full border-b border-[var(--line)] bg-black/40"
|
||||
: "aspect-[4/3] w-full border-b border-[var(--line)] bg-black/40"
|
||||
}
|
||||
>
|
||||
{fw.media.preview ? (
|
||||
<FirmwarePreview fw={fw} />
|
||||
) : fw.media.video ? (
|
||||
|
||||
Reference in New Issue
Block a user