mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 08:20:45 -05:00
🐛 Fix mixed selection of few components name are truncated
This commit is contained in:
parent
e7e70b4edd
commit
bdc303e778
2 changed files with 11 additions and 1 deletions
|
@ -522,7 +522,8 @@
|
||||||
(when open?
|
(when open?
|
||||||
[:div {:class (stl/css :element-content)}
|
[:div {:class (stl/css :element-content)}
|
||||||
[:div {:class (stl/css-case :component-wrapper true
|
[:div {:class (stl/css-case :component-wrapper true
|
||||||
:with-actions show-menu?)}
|
:with-actions show-menu?
|
||||||
|
:without-actions (not show-menu?))}
|
||||||
[:button {:class (stl/css-case :component-name-wrapper true
|
[:button {:class (stl/css-case :component-name-wrapper true
|
||||||
:with-main (and can-swap? (not multi))
|
:with-main (and can-swap? (not multi))
|
||||||
:swappeable (and can-swap? (not swap-opened?)))
|
:swappeable (and can-swap? (not swap-opened?)))
|
||||||
|
|
|
@ -51,6 +51,15 @@
|
||||||
grid-template-columns: 1fr $s-28;
|
grid-template-columns: 1fr $s-28;
|
||||||
gap: $s-2;
|
gap: $s-2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.without-actions {
|
||||||
|
padding-right: 0.5rem;
|
||||||
|
.component-name-wrapper {
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
border-radius: $br-8;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.component-name-wrapper {
|
.component-name-wrapper {
|
||||||
|
|
Loading…
Reference in a new issue