Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

Fix Library Menu Layout (#2502)

Kartik Prajapati8f269eb8408c
diff --git a/src/components/LayerUI.scss b/src/components/LayerUI.scss
index f77dde3982..6564f2a5e7 100644
--- a/src/components/LayerUI.scss
+++ b/src/components/LayerUI.scss
@@ -12,9 +12,6 @@
right: 12px;
top: 16px;
white-space: nowrap;
- max-width: 140px;
- text-overflow: ellipsis;
- overflow: hidden;
}
}
diff --git a/src/components/LayerUI.tsx b/src/components/LayerUI.tsx
index 9fd09d5d8f..0bb10d9adf 100644
--- a/src/components/LayerUI.tsx
+++ b/src/components/LayerUI.tsx
@@ -134,7 +134,7 @@ const LibraryMenuItems = ({
align="center"
gap={1}
key={"actions"}
- style={{ padding: "2px 0" }}
+ style={{ padding: "2px" }}
>
<ToolButton
key="import"
@@ -208,7 +208,7 @@ const LibraryMenuItems = ({
}
return (
- <Stack.Col align="center" gap={1} className="layer-ui__library-items">
+ <Stack.Col align="start" gap={1} className="layer-ui__library-items">
{rows}
</Stack.Col>
);