Skip to content

Commit

Permalink
Fix: Font size picker max width on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Feb 1, 2019
1 parent 2b7085a commit 39e3284
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/font-size-picker/style.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.components-font-size-picker__buttons {
max-width: $sidebar-width - ( 2 * $panel-padding );
display: flex;
justify-content: space-between;
align-items: center;
Expand All @@ -7,6 +8,7 @@
.components-range-control__number {
height: 24px;
line-height: 22px;
margin-left: 0;

// Show the reset button as disabled until a value is entered.
&[value=""] + .components-button {
Expand Down

0 comments on commit 39e3284

Please sign in to comment.