From c65e13a31f59653cb93cbfbdb90ed432d7cee782 Mon Sep 17 00:00:00 2001 From: Juan de la Cruz Date: Mon, 27 Mar 2017 10:30:08 +0200 Subject: [PATCH] fix zoom controlers --- frontend/resources/styles/main/partials/workspace-bar.scss | 2 +- frontend/src/uxbox/main/ui/workspace/header.cljs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/resources/styles/main/partials/workspace-bar.scss b/frontend/resources/styles/main/partials/workspace-bar.scss index 38dbe3ae6..d1ba9cd24 100644 --- a/frontend/resources/styles/main/partials/workspace-bar.scss +++ b/frontend/resources/styles/main/partials/workspace-bar.scss @@ -212,10 +212,10 @@ .add-zoom { left: -5px; - padding-top: 4px; } .remove-zoom { + padding-top: 4px; right: -5px; } diff --git a/frontend/src/uxbox/main/ui/workspace/header.cljs b/frontend/src/uxbox/main/ui/workspace/header.cljs index be6c9b9ab..91df98ad5 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.remove-zoom {:on-click decrease} "-"] + [:span.add-zoom {:on-click decrease} "-"] [:span (str (mth/round (* 100 zoom)) "%")] - [:span.add-zoom {:on-click increase} "+"]]])) + [:span.remove-zoom {:on-click increase} "+"]]])) ;; --- Header Component