From f2c953c5bd0da8229e72659a22f28abb496818c4 Mon Sep 17 00:00:00 2001 From: Joen Asmussen Date: Thu, 4 May 2017 16:59:01 +0200 Subject: [PATCH] Fix text editor style regression This is a PR to fix a regression I introduced in https://github.com/WordPress/gutenberg/pull/603#pullrequestreview-36284813. This moves the styles to input fields to be scoped to blocks, and the sidebar, both of which will benefit from this style. --- editor/assets/stylesheets/main.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/assets/stylesheets/main.scss b/editor/assets/stylesheets/main.scss index a06b83d3e6816e..f2c40d90d704bb 100644 --- a/editor/assets/stylesheets/main.scss +++ b/editor/assets/stylesheets/main.scss @@ -48,7 +48,10 @@ body.toplevel_page_gutenberg { @include break-small() { padding-top: $header-height; } +} +.editor-sidebar, +.editor-visual-editor__block { input, textarea { border-radius: 4px; border-color: $light-gray-500;