From d55cd87090613f3d7716e667287fa977e70c4be5 Mon Sep 17 00:00:00 2001 From: Juan de la Cruz Date: Mon, 27 Mar 2017 10:25:51 +0200 Subject: [PATCH] switch zoom controlers --- frontend/resources/styles/main/partials/dashboard-grid.scss | 1 + frontend/src/uxbox/main/ui/workspace/header.cljs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/resources/styles/main/partials/dashboard-grid.scss b/frontend/resources/styles/main/partials/dashboard-grid.scss index 4a4e48a38..c9a7b3970 100644 --- a/frontend/resources/styles/main/partials/dashboard-grid.scss +++ b/frontend/resources/styles/main/partials/dashboard-grid.scss @@ -75,6 +75,7 @@ .dashboard-grid-content { display: flex; + height: 100%; min-height: 60vh; overflow: scroll; width: 100%; diff --git a/frontend/src/uxbox/main/ui/workspace/header.cljs b/frontend/src/uxbox/main/ui/workspace/header.cljs index 992a55f88..be6c9b9ab 100644 --- a/frontend/src/uxbox/main/ui/workspace/header.cljs +++ b/frontend/src/uxbox/main/ui/workspace/header.cljs @@ -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