0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 02:28:18 -05:00

Merge pull request #4168 from penpot/ladybenko-6993-fix-multiline-layer-title

🐛 Add ellipsis to layer title text when inspecting shape
This commit is contained in:
Aitor Moreno 2024-02-19 18:05:39 +01:00 committed by GitHub
commit 619d46c476
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,8 @@
}
.shape-row {
display: flex;
display: grid;
grid-template-columns: auto 1fr;
gap: $s-8;
align-items: center;
height: $s-32;
@ -46,6 +47,7 @@
.layer-title {
@include titleTipography;
@include text-ellipsis;
height: $s-32;
padding: $s-8 0;
color: var(--assets-item-name-foreground-color-rest);