mirror of
https://github.com/penpot/penpot.git
synced 2025-07-08 01:47:16 +02:00
🐛 Fix assets group name when is too long
This commit is contained in:
parent
946677f5b3
commit
98b41a5bff
2 changed files with 5 additions and 21 deletions
|
@ -20,9 +20,10 @@
|
||||||
.title-only,
|
.title-only,
|
||||||
.inspect-title {
|
.inspect-title {
|
||||||
@include uppercaseTitleTipography;
|
@include uppercaseTitleTipography;
|
||||||
display: flex;
|
display: grid;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-grow: 1;
|
justify-content: flex-start;
|
||||||
|
grid-auto-flow: column;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
min-height: $s-32;
|
min-height: $s-32;
|
||||||
color: var(--title-foreground-color);
|
color: var(--title-foreground-color);
|
||||||
|
@ -30,7 +31,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-only {
|
.title-only {
|
||||||
margin-left: $s-8;
|
--title-bar-title-margin: #{$s-8};
|
||||||
|
margin-inline-start: var(--title-bar-title-margin);
|
||||||
}
|
}
|
||||||
|
|
||||||
.inspect-title {
|
.inspect-title {
|
||||||
|
@ -66,23 +68,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.title,
|
|
||||||
.title-only {
|
|
||||||
@include uppercaseTitleTipography;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
flex-grow: 1;
|
|
||||||
height: 100%;
|
|
||||||
min-height: $s-32;
|
|
||||||
color: var(--title-foreground-color);
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title-only {
|
|
||||||
--title-bar-title-margin: #{$s-8};
|
|
||||||
margin-inline-start: var(--title-bar-title-margin);
|
|
||||||
}
|
|
||||||
|
|
||||||
.title-only-icon-gap {
|
.title-only-icon-gap {
|
||||||
--title-bar-title-margin: #{$s-12};
|
--title-bar-title-margin: #{$s-12};
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
.path {
|
.path {
|
||||||
@include textEllipsis;
|
@include textEllipsis;
|
||||||
max-width: 90%;
|
|
||||||
margin-left: $s-2;
|
margin-left: $s-2;
|
||||||
text-transform: initial;
|
text-transform: initial;
|
||||||
color: var(--title-foreground-color-hover);
|
color: var(--title-foreground-color-hover);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue