mirror of
https://github.com/penpot/penpot.git
synced 2026-09-24 04:46:14 +00:00
fix zoom controlers
This commit is contained in:
parent
d55cd87090
commit
c65e13a31f
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user