0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-03 21:09:00 -05:00

fix zoom controlers

This commit is contained in:
Juan de la Cruz 2017-03-27 10:30:08 +02:00
parent d55cd87090
commit c65e13a31f
2 changed files with 3 additions and 3 deletions

View file

@ -212,10 +212,10 @@
.add-zoom { .add-zoom {
left: -5px; left: -5px;
padding-top: 4px;
} }
.remove-zoom { .remove-zoom {
padding-top: 4px;
right: -5px; right: -5px;
} }

View file

@ -36,9 +36,9 @@
decrease #(st/emit! (dw/decrease-zoom))] decrease #(st/emit! (dw/decrease-zoom))]
[:ul.options-view [:ul.options-view
[:li.zoom-input [:li.zoom-input
[:span.remove-zoom {:on-click decrease} "-"] [:span.add-zoom {:on-click decrease} "-"]
[:span (str (mth/round (* 100 zoom)) "%")] [:span (str (mth/round (* 100 zoom)) "%")]
[:span.add-zoom {:on-click increase} "+"]]])) [:span.remove-zoom {:on-click increase} "+"]]]))
;; --- Header Component ;; --- Header Component