diff --git a/src/code-editor/styles.scss b/src/code-editor/styles.scss index 2c4f6a1bf9..842f5613d5 100644 --- a/src/code-editor/styles.scss +++ b/src/code-editor/styles.scss @@ -27,9 +27,13 @@ inset: 0; &:focus { - position: absolute; - overflow: visible; @include styles.focus-highlight(3px); + // Required to avoid SASS mixed declarations warning (https://sass-lang.com/d/mixed-decls) + // stylelint-disable-next-line no-duplicate-selectors + & { + position: absolute; + overflow: visible; + } } }