Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 75efe2f

Browse files
committed
fix: block border may show up in guidebooks
1 parent c2c2b5c commit 75efe2f

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

plugins/plugin-client-common/web/scss/components/Terminal/BlockBorder.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@
5656
}
5757

5858
@include FocusedBlock {
59-
@include IsNotActive {
60-
@include Editable {
61-
@include BlockBorder {
62-
@include NormalDecorations;
59+
@include IsNotAnnouncement {
60+
@include IsNotActive {
61+
@include Editable {
62+
@include BlockBorder {
63+
@include NormalDecorations;
64+
}
6365
}
6466
}
6567
}

plugins/plugin-client-common/web/scss/components/Terminal/_mixins.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@ $action-hover-delay: 210ms;
152152
}
153153
}
154154

155+
@mixin IsNotAnnouncement {
156+
&:not([data-announcement]) {
157+
@content;
158+
}
159+
}
160+
155161
@mixin BlockFocusAttributes {
156162
&:focus,
157163
&[data-is-focused] {

0 commit comments

Comments
 (0)