Skip to content

Commit

Permalink
Merge pull request #2851 from boyuai/master
Browse files Browse the repository at this point in the history
Fix css calc space
  • Loading branch information
SylvainCorlay committed May 12, 2020
2 parents f51cdaa + 6a700f8 commit 3bd7527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/controls/css/widgets-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -822,10 +822,10 @@
line-height: var(--jp-widgets-inline-height);
/* line-height doesn't work on some browsers for select options */
padding-top: calc(
var(--jp-widgets-inline-height)-var(--jp-widgets-font-size) / 2
var(--jp-widgets-inline-height) - var(--jp-widgets-font-size) / 2
);
padding-bottom: calc(
var(--jp-widgets-inline-height)-var(--jp-widgets-font-size) / 2
var(--jp-widgets-inline-height) - var(--jp-widgets-font-size) / 2
);
}

Expand Down

0 comments on commit 3bd7527

Please sign in to comment.