We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b10cde commit 250c194Copy full SHA for 250c194
.changeset/odd-pillows-cheer.md
@@ -0,0 +1,5 @@
1
+---
2
+"gitbook": patch
3
4
+
5
+Add nosnippet to announcement banner.
packages/gitbook/src/components/Announcement/AnnouncementBanner.tsx
@@ -29,7 +29,11 @@ export function AnnouncementBanner(props: {
29
const style = BANNER_STYLES[announcement.style];
30
31
return (
32
- <div id="announcement-banner" className="theme-bold:bg-header-background pt-4 pb-2">
+ <div
33
+ id="announcement-banner"
34
+ className="theme-bold:bg-header-background pt-4 pb-2"
35
+ data-nosnippet=""
36
+ >
37
<div className="scroll-nojump">
38
<div className="transition-all duration-300 lg:chat-open:pr-80 xl:chat-open:pr-96">
39
<div className={tcls('relative', CONTAINER_STYLE)}>
0 commit comments