docs: fix z-index across projects (#5234)
* docs: fix z-index across projects * remove usage of z-index in UI docs
This commit is contained in:
@@ -43,6 +43,7 @@ const TagOperation = ({
|
||||
const { ref } = useInView({
|
||||
threshold: 0.3,
|
||||
rootMargin: `112px 0px 112px 0px`,
|
||||
root: document.getElementById("main") || document.body,
|
||||
onChange: (changedInView) => {
|
||||
if (changedInView) {
|
||||
if (!show) {
|
||||
|
||||
@@ -43,6 +43,7 @@ const TagSection = ({ tag }: TagSectionProps) => {
|
||||
const { ref } = useInView({
|
||||
threshold: 0.5,
|
||||
rootMargin: `112px 0px 112px 0px`,
|
||||
root: document.getElementById("main") || document.body,
|
||||
onChange: (inView) => {
|
||||
if (inView && !loadPaths) {
|
||||
setLoadPaths(true)
|
||||
|
||||
Reference in New Issue
Block a user