From 8470347579341bffb3403ce4064ee59bef775d29 Mon Sep 17 00:00:00 2001 From: ankitkr104 Date: Sat, 11 Apr 2026 12:51:03 +0530 Subject: [PATCH] fix: align shape builder controls with Sistent defaults (#147) --- site/src/components/ShapeBuilder/index.js | 38 ++++++++++++++++++----- site/src/pages/index.js | 6 ++-- 2 files changed, 33 insertions(+), 11 deletions(-) diff --git a/site/src/components/ShapeBuilder/index.js b/site/src/components/ShapeBuilder/index.js index 5ab1d15..1479288 100644 --- a/site/src/components/ShapeBuilder/index.js +++ b/site/src/components/ShapeBuilder/index.js @@ -10,6 +10,8 @@ SVGextend(SVG.Polygon, draw); const SCALE_PRESETS = [0.25, 0.5, 0.75, 1, 1.25, 1.5, 2, 3]; const MIN_SCALE = 0.1; const MAX_SCALE = 3; +const CONTROL_HEIGHT = "3.5rem"; +const CONTROL_FONT_SIZE = "1.35rem"; const ShapeBuilder = () => { const boardRef = useRef(null); @@ -248,26 +250,46 @@ const ShapeBuilder = () => { - - + + - +