Skip to content

Commit 2cfeb28

Browse files
authored
Set .crisp-client z-index to the same one we already have #crisp-chatbox at (#2072)
1 parent d167558 commit 2cfeb28

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.changeset/neat-mangos-promise.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@theguild/components': patch
3+
---
4+
5+
Set .crisp-client z-index to the same one we already have #crisp-chatbox

packages/components/src/server/hive-layout.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export const HiveLayout = async ({
9797
--nextra-primary-saturation: 40%;
9898
--nextra-bg: 255, 255, 255;
9999
}
100-
100+
101101
.x\\:tracking-tight,
102102
.nextra-steps :is(h2, h3, h4) {
103103
letter-spacing: normal;
@@ -108,16 +108,16 @@ export const HiveLayout = async ({
108108
background: #fff;
109109
color-scheme: light !important;
110110
}
111-
111+
112112
html:has(body.light) .nextra-search-results mark {
113113
background: oklch(0.611752 0.07807 214.47 / 0.8);
114114
}
115-
115+
116116
html:has(body.light) .nextra-sidebar-footer {
117117
display: none;
118118
}
119-
120-
#crisp-chatbox { z-index: 40 !important; }
119+
120+
.crisp-client, #crisp-chatbox { z-index: 40 !important; }
121121
`
122122
}</style>
123123
{head}

0 commit comments

Comments
 (0)