Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

Reduce the padding of the left 'Islands' (#2050)

Lipisc3de4cd4c51b
diff --git a/src/components/LayerUI.tsx b/src/components/LayerUI.tsx
index e53b9a636c..5c58618cc7 100644
--- a/src/components/LayerUI.tsx
+++ b/src/components/LayerUI.tsx
@@ -356,7 +356,7 @@ const LayerUI = ({
>
{/* the zIndex ensures this menu has higher stacking order,
see https://github.com/excalidraw/excalidraw/pull/1445 */}
- <Island padding={4} style={{ zIndex: 1 }}>
+ <Island padding={2} style={{ zIndex: 1 }}>
<Stack.Col gap={4}>
<Stack.Row gap={1} justifyContent="space-between">
{actionManager.renderAction("loadScene")}
@@ -388,7 +388,7 @@ const LayerUI = ({
heading="selectedShapeActions"
className={`zen-mode-transition ${zenModeEnabled && "transition-left"}`}
>
- <Island className={CLASSES.SHAPE_ACTIONS_MENU} padding={4}>
+ <Island className={CLASSES.SHAPE_ACTIONS_MENU} padding={2}>
<SelectedShapeActions
appState={appState}
elements={elements}