Skip to content

Commit 0707b2d

Browse files
committed
fix(MessageBar): Make outline-offset important
This is getting overriden in the ShadowBot extension, because, like Backstage, they pull styles in the wrong order.
1 parent 8d4dc9b commit 0707b2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/module/src/MessageBar/MessageBar.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@
6868
.pf-v6-c-form-control__textarea:focus-visible {
6969
outline: none;
7070
}
71-
.pf-v6-c-form-control > textarea {
72-
outline-offset: 0px;
71+
textarea {
72+
outline-offset: 0px !important;
7373
--pf-v6-c-form-control--PaddingBlockStart: 0;
7474
--pf-v6-c-form-control--PaddingBlockEnd: 0;
7575
--pf-v6-c-form-control--BorderRadius: 0;
7676
}
77-
.pf-v6-c-form-control > textarea:focus-visible {
77+
textarea:focus-visible {
7878
outline: none;
7979
}
8080
}

0 commit comments

Comments
 (0)