0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-13 16:21:57 -05:00

switch zoom controlers

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

View file

@ -75,6 +75,7 @@
.dashboard-grid-content {
display: flex;
height: 100%;
min-height: 60vh;
overflow: scroll;
width: 100%;

View file

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