Skip to content

Commit

Permalink
refactor(styling): tweak input editor padding
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding-SE committed Apr 27, 2020
1 parent 105e417 commit c23e5d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/common/src/styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 1 addition & 2 deletions packages/common/src/styles/slick-default-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
Expand Down

0 comments on commit c23e5d7

Please sign in to comment.