mirror of
https://github.com/penpot/penpot.git
synced 2025-02-08 16:18:11 -05: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
|
@ -67,6 +67,7 @@
|
||||||
- Fix drag-select when renaming layer text [Taiga #1307](https://tree.taiga.io/project/penpot/issue/1307)
|
- Fix drag-select when renaming layer text [Taiga #1307](https://tree.taiga.io/project/penpot/issue/1307)
|
||||||
- Fix layout problem for editable selects [Taiga #1488](https://tree.taiga.io/project/penpot/issue/1488)
|
- Fix layout problem for editable selects [Taiga #1488](https://tree.taiga.io/project/penpot/issue/1488)
|
||||||
- Fix artboard title wasn't move when resizing [Taiga #1479](https://tree.taiga.io/project/penpot/issue/1479)
|
- Fix artboard title wasn't move when resizing [Taiga #1479](https://tree.taiga.io/project/penpot/issue/1479)
|
||||||
|
- Fix titles in viewer thumbnails too long [Taiga #1474](https://tree.taiga.io/project/penpot/issue/1474)
|
||||||
|
|
||||||
|
|
||||||
### :arrow_up: Deps updates
|
### :arrow_up: Deps updates
|
||||||
|
|
|
@ -165,6 +165,10 @@
|
||||||
|
|
||||||
.thumbnail-info {
|
.thumbnail-info {
|
||||||
padding: 0.5rem 0;
|
padding: 0.5rem 0;
|
||||||
|
width: 120px;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
font-size: $fs13;
|
font-size: $fs13;
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
{:class (classnames :selected selected?)}
|
{:class (classnames :selected selected?)}
|
||||||
[:& exports/frame-svg {:frame frame :objects objects}]]
|
[:& exports/frame-svg {:frame frame :objects objects}]]
|
||||||
[:div.thumbnail-info
|
[:div.thumbnail-info
|
||||||
[:span.name (:name frame)]]])
|
[:span.name {:title (:name frame)} (:name frame)]]])
|
||||||
|
|
||||||
(mf/defc thumbnails-panel
|
(mf/defc thumbnails-panel
|
||||||
[{:keys [data index screen] :as props}]
|
[{:keys [data index screen] :as props}]
|
||||||
|
|
Loading…
Add table
Reference in a new issue