From eabcb9b165388038a273ae3751eb9bf247b876f9 Mon Sep 17 00:00:00 2001 From: Joen Asmussen Date: Mon, 30 Apr 2018 14:14:01 +0200 Subject: [PATCH] Fix select box regression. (#6350) 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. --- edit-post/assets/stylesheets/main.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/edit-post/assets/stylesheets/main.scss b/edit-post/assets/stylesheets/main.scss index 98e41c4bf88941..2ab7413575a2fe 100644 --- a/edit-post/assets/stylesheets/main.scss +++ b/edit-post/assets/stylesheets/main.scss @@ -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