0
Fork 0
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:
Andrey Antukh 2020-07-03 09:17:09 +02:00 committed by Hirunatan
parent 2fb4e72240
commit edbe049171

View file

@ -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]]])))