mirror of
https://github.com/penpot/penpot.git
synced 2026-09-07 12:40:12 +00:00
🐛 Asset color long names should show ellipsis
This commit is contained in:
parent
6009f6846a
commit
d09cab49aa
@ -75,6 +75,7 @@
|
|||||||
:color-text (< size 72)
|
:color-text (< size 72)
|
||||||
:small-text (and (>= size 64) (< size 72))
|
:small-text (and (>= size 64) (< size 72))
|
||||||
:big-text (>= size 72))
|
:big-text (>= size 72))
|
||||||
|
:title name
|
||||||
:on-click on-click
|
:on-click on-click
|
||||||
:on-double-click on-double-click}
|
:on-double-click on-double-click}
|
||||||
(if (some? image)
|
(if (some? image)
|
||||||
|
|||||||
@ -85,8 +85,9 @@
|
|||||||
|
|
||||||
.big-text {
|
.big-text {
|
||||||
@include inspectValue;
|
@include inspectValue;
|
||||||
|
@include twoLineTextEllipsis;
|
||||||
color: var(--palette-text-color);
|
color: var(--palette-text-color);
|
||||||
height: $s-16;
|
height: $s-28;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user