0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 16:30:37 -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 {
left: -5px;
padding-top: 4px;
}
.remove-zoom {
padding-top: 4px;
right: -5px;
}

View file

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