From afe320ca047543136a214c2438fd6ce7d74096a2 Mon Sep 17 00:00:00 2001 From: "juancarlos.cavero" Date: Fri, 17 Jul 2026 22:41:55 +0200 Subject: [PATCH] ui: aspect-ratio glyph + use hint under each output-format option Each format button now shows a little rectangle in its real proportion (tall 9:16, square 1:1, wide 16:9) plus what it's for, so the choice reads at a glance instead of needing a hover tooltip. --- dashboard/src/components/MediaInput.jsx | 43 ++++++++++++++++--------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/dashboard/src/components/MediaInput.jsx b/dashboard/src/components/MediaInput.jsx index 2108b19..545e41c 100644 --- a/dashboard/src/components/MediaInput.jsx +++ b/dashboard/src/components/MediaInput.jsx @@ -164,21 +164,34 @@ export default function MediaInput({ onProcess, isProcessing }) {

Output format

{[ - { value: 'vertical', label: '9:16', hint: 'Shorts / Reels / TikTok' }, - { value: 'square', label: '1:1', hint: 'Feed posts' }, - { value: 'horizontal', label: '16:9', hint: 'Keep landscape' }, - ].map((f) => ( - - ))} + { value: 'vertical', label: '9:16', hint: 'Shorts · Reels · TikTok', w: 18, h: 32 }, + { value: 'square', label: '1:1', hint: 'Feed posts', w: 28, h: 28 }, + { value: 'horizontal', label: '16:9', hint: 'Keep landscape · YouTube', w: 36, h: 20 }, + ].map((f) => { + const active = outputFormat === f.value; + return ( + + ); + })}