0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-01 09:31:26 -05:00

🐛 Fix swap styles for groups names too long

This commit is contained in:
Pablo Alba 2024-01-11 11:23:39 +01:00 committed by Andrey Antukh
parent 0d1aed96c8
commit d204ae86f2
2 changed files with 8 additions and 0 deletions

View file

@ -17,6 +17,8 @@
}
.path {
@include textEllipsis;
max-width: 90%;
margin-left: $s-2;
text-transform: initial;
color: var(--title-foreground-color-hover);

View file

@ -47,6 +47,8 @@
.component-name {
@include titleTipography;
@include textEllipsis;
direction: rtl;
text-align: left;
width: 70%;
flex-grow: 2;
margin-left: $s-8;
@ -55,6 +57,9 @@
.component-parent-name {
@include titleTipography;
@include textEllipsis;
direction: rtl;
text-align: left;
max-width: 95%;
padding-left: $s-36;
color: var(--title-foreground-color);
}
@ -224,6 +229,7 @@
display: flex;
align-items: center;
margin-bottom: $s-4;
padding-right: $s-8;
font-size: $s-12;
cursor: pointer;
width: 100%;