File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
packages/gitbook/src/components/primitives Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " gitbook " : patch
3+ ---
4+
5+ Fix opacity of ScrollContainer buttons on bold themes
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ export function ScrollContainer(props: ScrollContainerProps) {
165165 orientation === 'horizontal'
166166 ? '-translate-y-1/2! top-1/2 left-0 ml-2'
167167 : '-translate-x-1/2! top-0 left-1/2 mt-2' ,
168- 'absolute not-pointer-none:block hidden scale-0 opacity-0 transition-[scale,opacity]' ,
168+ 'absolute not-pointer-none:block hidden scale-0 opacity-0 backdrop-blur-xl transition-[scale,opacity]' ,
169169 scrollPosition > 0
170170 ? 'not-pointer-none:group-hover/scroll-container:scale-100 not-pointer-none:group-hover/scroll-container:opacity-11'
171171 : 'pointer-events-none'
@@ -183,7 +183,7 @@ export function ScrollContainer(props: ScrollContainerProps) {
183183 orientation === 'horizontal'
184184 ? '-translate-y-1/2! top-1/2 right-0 mr-2'
185185 : '-translate-x-1/2! bottom-0 left-1/2 mb-2' ,
186- 'absolute not-pointer-none:block hidden scale-0 transition-[scale,opacity]' ,
186+ 'absolute not-pointer-none:block hidden scale-0 backdrop-blur-xl transition-[scale,opacity]' ,
187187 scrollPosition < scrollSize
188188 ? 'not-pointer-none:group-hover/scroll-container:scale-100 not-pointer-none:group-hover/scroll-container:opacity-11'
189189 : 'pointer-events-none'
You can’t perform that action at this time.
0 commit comments