diff --git a/frontend/resources/styles/common/framework.scss b/frontend/resources/styles/common/framework.scss index e0b5b2386..166842729 100644 --- a/frontend/resources/styles/common/framework.scss +++ b/frontend/resources/styles/common/framework.scss @@ -369,7 +369,6 @@ ul.slider-dots { &::after { content: "px"; } - } &.percentail { @@ -377,7 +376,6 @@ ul.slider-dots { &::after { content: "%"; } - } &.miliseconds { @@ -385,7 +383,6 @@ ul.slider-dots { &::after { content: "ms"; } - } &.degrees { @@ -393,9 +390,35 @@ ul.slider-dots { &::after { content: "dg"; } - } + &.height { + + &::after { + content: "H"; + } + } + + &.width { + + &::after { + content: "W"; + } + } + + &.Xaxis { + + &::after { + content: "X"; + } + } + + &.Yaxis { + + &::after { + content: "Y"; + } + } } input, diff --git a/frontend/src/uxbox/main/ui/workspace/sidebar/options/measures.cljs b/frontend/src/uxbox/main/ui/workspace/sidebar/options/measures.cljs index e79017312..b86b8b9d5 100644 --- a/frontend/src/uxbox/main/ui/workspace/sidebar/options/measures.cljs +++ b/frontend/src/uxbox/main/ui/workspace/sidebar/options/measures.cljs @@ -110,7 +110,7 @@ (if (:proportion-lock shape) i/lock i/unlock)] - [:div.input-element.pixels + [:div.input-element.width [:input.input-text {:type "number" :min "0" :no-validate true @@ -120,7 +120,7 @@ (math/round)))}]] - [:div.input-element.pixels + [:div.input-element.height [:input.input-text {:type "number" :min "0" :no-validate true @@ -133,7 +133,7 @@ (when (options :position) [:div.row-flex [:span.element-set-subtitle (t locale "workspace.options.position")] - [:div.input-element.pixels + [:div.input-element.Xaxis [:input.input-text {:placeholder "x" :type "number" :no-validate true @@ -143,7 +143,7 @@ ;; (d/coalesce 0) ;; (math/round))) }]] - [:div.input-element.pixels + [:div.input-element.Yaxis [:input.input-text {:placeholder "y" :type "number" :no-validate true