From c23e5d700fdabfdcd3e0bd0be4c8a602b436c2cd Mon Sep 17 00:00:00 2001 From: Ghislain Beaulac Date: Mon, 27 Apr 2020 10:35:21 -0400 Subject: [PATCH] refactor(styling): tweak input editor padding --- packages/common/src/styles/_variables.scss | 2 +- packages/common/src/styles/slick-default-theme.scss | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/common/src/styles/_variables.scss b/packages/common/src/styles/_variables.scss index a1240e1f9..225290730 100644 --- a/packages/common/src/styles/_variables.scss +++ b/packages/common/src/styles/_variables.scss @@ -39,7 +39,7 @@ $cell-border-left: 1px transparent !default; $cell-even-background-color: #ffffff !default; $cell-odd-background-color: darken($grid-cell-color, 3%) !default; // for striping every second row $cell-odd-active-background-color: darken($grid-cell-color, 5%) !default; -$cell-padding: 5px 7.5834px !default; +$cell-padding: 5px 6px !default; /** 4x available slick-pane (top, bottom, left, right) */ $slick-pane-top-border-top: none !default; diff --git a/packages/common/src/styles/slick-default-theme.scss b/packages/common/src/styles/slick-default-theme.scss index 1d00e4810..bca920c58 100644 --- a/packages/common/src/styles/slick-default-theme.scss +++ b/packages/common/src/styles/slick-default-theme.scss @@ -83,8 +83,7 @@ border: $cell-active-border; // We compensate for the all-around border (now 1px at top and left too!) - padding-top: 5px; - padding-left: 7px; + padding: $cell-padding; input.editor-text { width: 100%;