From 4dde484b1f2d08280fa5d1f251b28cd127646514 Mon Sep 17 00:00:00 2001 From: Sahitya Kumar Choubey Date: Sun, 7 Jul 2024 19:32:26 +0530 Subject: [PATCH] fix: cursor z-index bug --- src/styles/shepherdStyles.css | 6 +++++- tailwind.config.js | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/styles/shepherdStyles.css b/src/styles/shepherdStyles.css index c10b2ce6..0f260ef8 100644 --- a/src/styles/shepherdStyles.css +++ b/src/styles/shepherdStyles.css @@ -3,7 +3,7 @@ @import "tailwindcss/utilities"; .shepherd-element { - @apply bg-white rounded-xl border-4 border-primary shadow-lg p-1 transform transition-transform duration-300 scale-100; + @apply bg-white rounded-xl border-4 border-primary shadow-lg p-1 transform transition-transform duration-300 scale-100 z-custom; } .shepherd-element:hover { @@ -46,3 +46,7 @@ .shepherd-button:active { @apply transform translate-y-0; } + +.shepherd-modal-overlay-container { + @apply z-50 +} \ No newline at end of file diff --git a/tailwind.config.js b/tailwind.config.js index cbd10b38..25fc5ec9 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -8,6 +8,9 @@ module.exports = { darkMode: "class", theme: { extend: { + zIndex: { + custom: 900, + }, colors: { primary: "#f02e65", onhover: "#F97AC0",