0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 02:28:18 -05: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:
Pablo Alba 2023-07-24 13:53:44 +02:00 committed by Andrés Moya
parent d02129ef04
commit b62a149b34
2 changed files with 7 additions and 1 deletions

View file

@ -555,6 +555,12 @@
margin-right: $size-2;
}
.component-name {
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
}
.row-actions {
margin-left: auto;
cursor: pointer;

View file

@ -224,7 +224,7 @@
(if main-instance?
i/component
i/component-copy)
shape-name
[:div.component-name shape-name]
[:div.row-actions
{:on-click on-menu-click}
i/actions