mirror of
https://github.com/penpot/penpot.git
synced 2025-05-07 20:45:53 +02: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 {
|
.dashboard-grid-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
min-height: 60vh;
|
min-height: 60vh;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -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.add-zoom {:on-click increase} "+"]
|
[:span.remove-zoom {:on-click decrease} "-"]
|
||||||
[:span (str (mth/round (* 100 zoom)) "%")]
|
[:span (str (mth/round (* 100 zoom)) "%")]
|
||||||
[:span.remove-zoom {:on-click decrease} "-"]]]))
|
[:span.add-zoom {:on-click increase} "+"]]]))
|
||||||
|
|
||||||
;; --- Header Component
|
;; --- Header Component
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue