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:
parent
d02129ef04
commit
b62a149b34
2 changed files with 7 additions and 1 deletions
|
@ -555,6 +555,12 @@
|
|||
margin-right: $size-2;
|
||||
}
|
||||
|
||||
.component-name {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.row-actions {
|
||||
margin-left: auto;
|
||||
cursor: pointer;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue