Skip to content

Commit

Permalink
fix: Fix code editor becoming hidden when the group is focused (#3174)
Browse files Browse the repository at this point in the history
  • Loading branch information
avinashbot authored Jan 9, 2025
1 parent 30e34c4 commit 1f1d269
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/code-editor/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

Expand Down

0 comments on commit 1f1d269

Please sign in to comment.