From 3228460f1ce464a366a562dc839580749800dded Mon Sep 17 00:00:00 2001 From: william Date: Sun, 23 Aug 2026 20:34:48 +0200 Subject: [PATCH] Give the selected-element canvas outline breathing room A compact element like a Jauge (name label + thin bar, no padding) got an outline pulled 1px INSIDE its box (outline-offset:-1px), which hugged the content so tightly it looked like it was slicing through the bar instead of framing it. Push the outline outward instead (+3px) with a soft glow, so the selection frame reads clearly regardless of how tightly the underlying element is sized. Co-Authored-By: Claude Sonnet 5 --- static/style.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index 3e297371..8fa7fb6a 100644 --- a/static/style.css +++ b/static/style.css @@ -149,7 +149,10 @@ body.builderBody > main.content{ flex:1 1 auto; min-height:0; overflow:hidden; d sur le canevas quand cet élément est imbriqué dans un conteneur/répéteur/ groupe de champs, qui n'a pas de cadre ".canvasElement" séparé comme un élément posé directement sur l'écran. */ -.elementHighlighted{ outline:2px solid var(--accent); outline-offset:-1px; } +.elementHighlighted{ + outline:2px solid var(--accent); outline-offset:3px; border-radius:3px; + box-shadow:0 0 0 5px rgba(91,140,255,.15); +} .resizeHandle{ position:absolute; right:0; bottom:0; width:14px; height:14px; cursor:nwse-resize; background:var(--accent); border-radius:3px 0 6px 0; opacity:.85;