mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 23:21:38 +02:00
🐛 Fix missing empty message on swap panel
This commit is contained in:
parent
d30dc6b34b
commit
ac6258043e
4 changed files with 17 additions and 2 deletions
|
@ -360,6 +360,10 @@
|
|||
[:span i/arrow-slide]
|
||||
[:span (:path filters)]])
|
||||
|
||||
(when (empty? items)
|
||||
[:div {:class (stl/css :component-list-empty)}
|
||||
(tr "workspace.options.component.swap.empty")])
|
||||
|
||||
(when (:listing-thumbs? filters)
|
||||
[:div {:class (stl/css :component-list)}
|
||||
(for [item groups]
|
||||
|
|
|
@ -216,6 +216,11 @@
|
|||
height: $s-16;
|
||||
}
|
||||
|
||||
.component-list-empty {
|
||||
@include titleTipography;
|
||||
margin: 0 $s-4 0 $s-8;
|
||||
}
|
||||
|
||||
.component-list {
|
||||
margin: 0 $s-4 0 $s-8;
|
||||
.component-item {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue