From c1cf9082066d92e5fad1b2f5519339c21dfc3c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Padez?= Date: Tue, 1 Sep 2026 20:01:10 +0100 Subject: [PATCH] the media preview takes the column A strip of a photograph tells you it is a photograph and not which one. Full width, its own aspect, under the button rather than beside it. Co-Authored-By: Claude Opus 5 (1M context) --- web/sections/PageBuilderPanel.tsx | 51 ++++++++++++++++--------------- 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/web/sections/PageBuilderPanel.tsx b/web/sections/PageBuilderPanel.tsx index 54abc31..89759f0 100644 --- a/web/sections/PageBuilderPanel.tsx +++ b/web/sections/PageBuilderPanel.tsx @@ -654,30 +654,8 @@ export const PageBuilderPanel = () => { )} {(block.kind === 'media' || block.kind === 'video') && ( -
- {/* - What is actually in the block, at a glance. - - A button that says "Choose media…" and nothing else asks somebody to open a dialog to - find out what they already chose. A video shows its POSTER rather than playing: the - question here is which file this is, and a frame answers it. - */} - {block.content?.url && ( - - )} - -
- - {block.content?.url ? block.content.url.split('/').pop() : 'Nothing chosen'} - +
+
+ + {block.content?.url ? block.content.url.split('/').pop() : 'Nothing chosen'} +
+ + {/* + What is actually in the block, at the width of the column. + + A button that says "Choose media…" and nothing else asks somebody to open a dialog to + find out what they already chose. Full width and its own aspect, because a strip of a + photograph tells you it is a photograph and not which one. + + A video shows its POSTER rather than playing: the question here is which file this is, + and a frame answers it. + */} + {block.content?.url && ( + + )}
)}
,