mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 03:06:11 +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
|
@ -1280,7 +1280,8 @@
|
|||
:auto-focus true
|
||||
:default-value (cph/merge-path-item (:path color) (:name color))}]
|
||||
|
||||
[:div.name-block {:on-double-click rename-color-clicked}
|
||||
[:div.name-block {:title (:name color)
|
||||
:on-double-click rename-color-clicked}
|
||||
(:name color)
|
||||
(when-not (= (:name color) default-name)
|
||||
[:span default-name])])
|
||||
|
|
|
@ -499,7 +499,7 @@
|
|||
:font-weight (:font-weight typography)
|
||||
:font-style (:font-style typography)}}
|
||||
(tr "workspace.assets.typography.sample")]
|
||||
[:div.typography-name (:name typography)]]
|
||||
[:div.typography-name {:title (:name typography)}(:name typography)]]
|
||||
[:div.element-set-actions
|
||||
(when on-detach
|
||||
[:div.element-set-actions-button
|
||||
|
@ -517,7 +517,7 @@
|
|||
(if (not editable?)
|
||||
[:div.element-set-content.typography-read-only-data
|
||||
[:div.row-flex.typography-name
|
||||
[:span (:name typography)]]
|
||||
[:span {:title (:name typography)} (:name typography)]]
|
||||
|
||||
[:div.row-flex
|
||||
[:span.label (tr "workspace.assets.typography.font-id")]
|
||||
|
|
|
@ -42,7 +42,8 @@
|
|||
:attrs attrs}))
|
||||
selected-ids))))]
|
||||
|
||||
[:div.typography-item {:on-click handle-click}
|
||||
[:div.typography-item {:title (:name typography)
|
||||
:on-click handle-click}
|
||||
[:div.typography-name
|
||||
{:style {:font-family (:font-family typography)
|
||||
:font-weight (:font-weight typography)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue