mirror of
https://github.com/penpot/penpot.git
synced 2025-02-16 03:58:20 -05:00
💄 Minor cosmetic fix on exports component.
This commit is contained in:
parent
2fb4e72240
commit
edbe049171
1 changed files with 6 additions and 12 deletions
|
@ -109,11 +109,11 @@
|
||||||
{:exports exports})))))]
|
{:exports exports})))))]
|
||||||
|
|
||||||
|
|
||||||
(if (seq exports)
|
|
||||||
[:div.element-set.exports-options
|
[:div.element-set.exports-options
|
||||||
[:div.element-set-title
|
[:div.element-set-title
|
||||||
[:span (t locale "workspace.options.export")]
|
[:span (t locale "workspace.options.export")]
|
||||||
[:div.add-page {:on-click add-export} i/close]]
|
[:div.add-page {:on-click add-export} i/close]]
|
||||||
|
(when (seq exports)
|
||||||
[:div.element-set-content
|
[:div.element-set-content
|
||||||
(for [[index export] (d/enumerate exports)]
|
(for [[index export] (d/enumerate exports)]
|
||||||
[:div.element-set-options-group
|
[:div.element-set-options-group
|
||||||
|
@ -141,11 +141,5 @@
|
||||||
:disabled @loading?}
|
:disabled @loading?}
|
||||||
(if @loading?
|
(if @loading?
|
||||||
(t locale "workspace.options.exporting-object")
|
(t locale "workspace.options.exporting-object")
|
||||||
(t locale "workspace.options.export-object"))]]]
|
(t locale "workspace.options.export-object"))]])]))
|
||||||
|
|
||||||
[:div.element-set
|
|
||||||
[:div.element-set-title
|
|
||||||
[:span (t locale "workspace.options.export")]
|
|
||||||
[:div.add-page {:on-click add-export} i/close]]])))
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue