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:
parent
d5b7dcc663
commit
d55cd87090
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue