mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Fix when component has a long name then its icon and '3 dots' menu are not visible on Design tab
This commit is contained in:
@@ -555,6 +555,12 @@
|
|||||||
margin-right: $size-2;
|
margin-right: $size-2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.component-name {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.row-actions {
|
.row-actions {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|||||||
@@ -224,7 +224,7 @@
|
|||||||
(if main-instance?
|
(if main-instance?
|
||||||
i/component
|
i/component
|
||||||
i/component-copy)
|
i/component-copy)
|
||||||
shape-name
|
[:div.component-name shape-name]
|
||||||
[:div.row-actions
|
[:div.row-actions
|
||||||
{:on-click on-menu-click}
|
{:on-click on-menu-click}
|
||||||
i/actions
|
i/actions
|
||||||
|
|||||||
Reference in New Issue
Block a user