Skip to content

Commit

Permalink
Fix select box regression. (#6350)
Browse files Browse the repository at this point in the history
Fixes #6326.

This "undoes" a change to the select box styling, and polishes the focus style as well.

The regression was to introduce a padding change that conflicted with upstream select box styles. This essentially reverts that. This also polishes the focus styles a bit.
  • Loading branch information
jasmussen committed Apr 30, 2018
1 parent 731b4fe commit eabcb9b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions edit-post/assets/stylesheets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,17 @@ body.gutenberg-editor-page {
@include input-style__focus();
}
}

select {
padding: 2px;

&:focus {
border-color: $blue-medium-600;
// Windows High Contrast mode will show this outline
outline: 2px solid transparent;
outline-offset: 0;
}
}
}

// Placeholder colors
Expand Down

0 comments on commit eabcb9b

Please sign in to comment.