ソースを参照

Fix Library Menu Layout (#2502)

Kartik Prajapati 4 年 前
コミット
8f269eb840
2 ファイル変更2 行追加5 行削除
  1. 0 3
      src/components/LayerUI.scss
  2. 2 2
      src/components/LayerUI.tsx

+ 0 - 3
src/components/LayerUI.scss

@@ -12,9 +12,6 @@
       right: 12px;
       top: 16px;
       white-space: nowrap;
-      max-width: 140px;
-      text-overflow: ellipsis;
-      overflow: hidden;
     }
   }
 

+ 2 - 2
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>
   );