diff --git a/src/components/Island.tsx b/src/components/Island.tsx index f59cb65772..c4ef6ebc48 100644 --- a/src/components/Island.tsx +++ b/src/components/Island.tsx @@ -2,12 +2,16 @@ import "./Island.css"; import React from "react"; -type IslandProps = { children: React.ReactNode; padding?: number }; +type IslandProps = { + children: React.ReactNode; + padding?: number; + className?: string; +}; export const Island = React.forwardRef( - ({ children, padding }, ref) => ( + ({ children, padding, className }, ref) => (
diff --git a/src/components/LayerUI.tsx b/src/components/LayerUI.tsx index fce230a612..2786b1985b 100644 --- a/src/components/LayerUI.tsx +++ b/src/components/LayerUI.tsx @@ -116,7 +116,7 @@ export const LayerUI = React.memo(
-
+
@@ -136,11 +136,8 @@ export const LayerUI = React.memo(
{showSelectedShapeActions(appState, elements) && ( -
- +
+