Skip to content

Commit

Permalink
Fix vertical alignment of editables in item table.
Browse files Browse the repository at this point in the history
  • Loading branch information
flachware committed Apr 19, 2017
1 parent 89eaee9 commit 72b38a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/stylesheets/abstracts/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ $font-size-small: 12px;
$font-size-base: 13px;
$font-size-large: 16px;

$line-height-base: 1.53846;
// Heads up: Do not trust the computed value in the dev tools,
// check the actual height of the rendered element.
// Must result in an even value (20px) for proper alignment of editables.
$line-height-base: 1.539;

$line-height-computed: ceil(($font-size-base * $line-height-base));
$line-height-large: 26px;

Expand Down

0 comments on commit 72b38a9

Please sign in to comment.