mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Fix Library Menu Layout (#2502)
This commit is contained in:
parent
1a134a88bd
commit
8f269eb840
2 changed files with 2 additions and 5 deletions
|
@ -12,9 +12,6 @@
|
||||||
right: 12px;
|
right: 12px;
|
||||||
top: 16px;
|
top: 16px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
max-width: 140px;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -134,7 +134,7 @@ const LibraryMenuItems = ({
|
||||||
align="center"
|
align="center"
|
||||||
gap={1}
|
gap={1}
|
||||||
key={"actions"}
|
key={"actions"}
|
||||||
style={{ padding: "2px 0" }}
|
style={{ padding: "2px" }}
|
||||||
>
|
>
|
||||||
<ToolButton
|
<ToolButton
|
||||||
key="import"
|
key="import"
|
||||||
|
@ -208,7 +208,7 @@ const LibraryMenuItems = ({
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack.Col align="center" gap={1} className="layer-ui__library-items">
|
<Stack.Col align="start" gap={1} className="layer-ui__library-items">
|
||||||
{rows}
|
{rows}
|
||||||
</Stack.Col>
|
</Stack.Col>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue