mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
switch zoom controlers
This commit is contained in:
@@ -75,6 +75,7 @@
|
||||
|
||||
.dashboard-grid-content {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
min-height: 60vh;
|
||||
overflow: scroll;
|
||||
width: 100%;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user