Browse Source

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

Lipis 4 years ago
parent
commit
c3de4cd4c5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/LayerUI.tsx

+ 2 - 2
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}