mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 13:38:32 +02:00
🐛 Fix extra long names on typography assets
This commit is contained in:
parent
fbfff07dec
commit
defec189e2
7 changed files with 23 additions and 5 deletions
|
@ -434,6 +434,14 @@
|
|||
cursor: pointer;
|
||||
position: relative;
|
||||
|
||||
.name-block {
|
||||
color: $color-gray-20;
|
||||
width: calc(100% - 24px - #{$size-2});
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
& span {
|
||||
margin-left: $size-1;
|
||||
color: $color-gray-30;
|
||||
|
|
|
@ -1095,7 +1095,10 @@
|
|||
flex-grow: 1;
|
||||
font-size: $fs11;
|
||||
margin-top: 4px;
|
||||
max-width: calc(var(--width, 256px) - 100px);
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.element-set-actions-button svg {
|
||||
|
|
|
@ -9,6 +9,10 @@
|
|||
|
||||
& .typography-name {
|
||||
color: $color-white;
|
||||
max-width: 160px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
& .typography-font,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue