Skip to content

Commit

Permalink
Fix styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Sep 27, 2019
1 parent d7ec731 commit 9fbbc25
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/font-size-picker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function FontSizePicker( {
onChange( undefined );
setCurrentSelectValue( getSelectValueFromFontSize( fontSizes, undefined ) );
} }
isSmall
isLarge
isDefault
>
{ __( 'Reset' ) }
Expand Down
10 changes: 7 additions & 3 deletions packages/components/src/font-size-picker/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,18 @@

.components-font-size-picker__select-selector.components-font-size-picker__select-selector {
background: #fff;
border: 1px solid $dark-gray-200;
border-radius: 4px;
box-shadow: none;
margin-top: $grid-size;
padding-left: $grid-size-small;
position: relative;
}

.components-font-size-picker__select-selector::after {
content: "";
position: relative;
right: -10px;
padding: 0 8px;
position: absolute;
right: $grid-size-small;
}

.components-font-size-picker__select-selector:focus {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/font-size-picker/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
max-width: $sidebar-width - ( 2 * $panel-padding );
display: flex;
justify-content: space-between;
align-items: center;
align-items: flex-end;
margin-bottom: $grid-size * 3;

// Apply the same height as the isSmall Reset button.
Expand Down

0 comments on commit 9fbbc25

Please sign in to comment.