mirror of
https://github.com/penpot/penpot.git
synced 2025-07-13 00:17:16 +02:00
🐛 Fix titles in viewer thumbnails too long
This commit is contained in:
parent
ed893b995d
commit
60f6093357
3 changed files with 6 additions and 1 deletions
|
@ -165,6 +165,10 @@
|
|||
|
||||
.thumbnail-info {
|
||||
padding: 0.5rem 0;
|
||||
width: 120px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
span {
|
||||
font-size: $fs13;
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
{:class (classnames :selected selected?)}
|
||||
[:& exports/frame-svg {:frame frame :objects objects}]]
|
||||
[:div.thumbnail-info
|
||||
[:span.name (:name frame)]]])
|
||||
[:span.name {:title (:name frame)} (:name frame)]]])
|
||||
|
||||
(mf/defc thumbnails-panel
|
||||
[{:keys [data index screen] :as props}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue