UX: Remove redundant focus style (#12192)

UX: Remove redundant focus style (#12192)

This style is unnecessary because text inputs and textareas have focus styles set elsewhere (lines 228 and 288 respectively) and we don’t have any select elements.

diff --git a/app/assets/stylesheets/common/base/discourse.scss b/app/assets/stylesheets/common/base/discourse.scss
index d1adb3b..8c192ae 100644
--- a/app/assets/stylesheets/common/base/discourse.scss
+++ b/app/assets/stylesheets/common/base/discourse.scss
@@ -186,10 +186,6 @@ textarea {
     border-color: var(--primary-low);
   }
 
-  &:not([type="checkbox"]):not([type="radio"]):focus {
-    @include default-focus;
-  }
-
   &:focus:required:invalid {
     color: var(--danger);
     border-color: var(--danger);

GitHub sha: bd679b95

1 Like

This commit appears in #12192 which was approved by eviltrout. It was merged by pmusaraj.