From 1964dca731da6cf5dd31d58a15c6ada85788266f Mon Sep 17 00:00:00 2001 From: Val Erastov Date: Mon, 29 Jan 2018 01:28:09 -0800 Subject: [PATCH] define everything in rem / update px --- modules/ui/components/controls/RadioButtons.less | 2 +- web/app/cad/dom/actionInfo/ActionInfo.less | 4 ++-- web/app/cad/dom/components/wizard/Wizard.less | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/ui/components/controls/RadioButtons.less b/modules/ui/components/controls/RadioButtons.less index 89bab06e..4bac4c6a 100644 --- a/modules/ui/components/controls/RadioButtons.less +++ b/modules/ui/components/controls/RadioButtons.less @@ -1,3 +1,3 @@ .radioButton { - margin-left: 10px; + margin-left: 1rem; } \ No newline at end of file diff --git a/web/app/cad/dom/actionInfo/ActionInfo.less b/web/app/cad/dom/actionInfo/ActionInfo.less index 6d9ddf10..dac28d50 100644 --- a/web/app/cad/dom/actionInfo/ActionInfo.less +++ b/web/app/cad/dom/actionInfo/ActionInfo.less @@ -3,11 +3,11 @@ .root { display: flex; pointer-events:none; - padding: 2px 5px; + padding: 0.2rem 0.5rem; max-width: 400px; color: @font-color-minor; & > * { - padding: 3px 0; + padding: 0.3rem 0; } white-space: nowrap; } diff --git a/web/app/cad/dom/components/wizard/Wizard.less b/web/app/cad/dom/components/wizard/Wizard.less index 23803763..fc17f1ba 100644 --- a/web/app/cad/dom/components/wizard/Wizard.less +++ b/web/app/cad/dom/components/wizard/Wizard.less @@ -3,5 +3,5 @@ } .errorCode { - font-size: 9px; + font-size: 0.9rem; } \ No newline at end of file