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:
parent
d55cd87090
commit
c65e13a31f
2 changed files with 3 additions and 3 deletions
|
@ -212,10 +212,10 @@
|
|||
|
||||
.add-zoom {
|
||||
left: -5px;
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
.remove-zoom {
|
||||
padding-top: 4px;
|
||||
right: -5px;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue