From 9a4b6ab417151b1cc125e444e736ea12ac688bab Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 15 Feb 2016 22:56:15 +0200 Subject: [PATCH] Improved coordenates component. --- src/uxbox/ui/workspace.cljs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/uxbox/ui/workspace.cljs b/src/uxbox/ui/workspace.cljs index 4a62bfd71b..6cfb5114a8 100644 --- a/src/uxbox/ui/workspace.cljs +++ b/src/uxbox/ui/workspace.cljs @@ -28,11 +28,8 @@ [own] (let [{:keys [x y]} (rum/react wb/mouse-position)] (html - [:div {:style {:position "absolute" :left "80px" :top "20px"}} - [:table - [:tbody - [:tr [:td "x="] [:td x]] - [:tr [:td "y="] [:td y]]]]]))) + [:div {:style {:position "absolute" :left "50px" :top "25px"}} + [:span (str "| x=" x " | y=" y " |")]]))) (def coordinates (mx/component