From e81f9cc6b3f4e0995351fe3d3e1e7110e3915290 Mon Sep 17 00:00:00 2001 From: Sean Loughman Date: Fri, 10 Mar 2017 09:55:15 +1100 Subject: [PATCH] Add gray background to the X-axis ruler. Signed-off-by: Sean Loughman --- frontend/src/uxbox/main/ui/workspace/rules.cljs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/uxbox/main/ui/workspace/rules.cljs b/frontend/src/uxbox/main/ui/workspace/rules.cljs index d526c304d..c56259a26 100644 --- a/frontend/src/uxbox/main/ui/workspace/rules.cljs +++ b/frontend/src/uxbox/main/ui/workspace/rules.cljs @@ -139,6 +139,9 @@ [:svg.horizontal-rule {:width c/viewport-width :height 20} + [:rect {:height 20 + :width c/viewport-width + :fill "rgb(233, 234, 235)"}] [:g {:transform (str "translate(" translate-x ", 0)")} (horizontal-rule-ticks zoom)]]))