From 0547e9513f6ecdbae47aa48378c81f205502de06 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Mon, 6 Apr 2026 09:21:59 -0700 Subject: [PATCH] Small css tweak --- src/app.css | 5 +---- tailwind.config.js | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/app.css b/src/app.css index e89e137b..49e93922 100644 --- a/src/app.css +++ b/src/app.css @@ -365,10 +365,7 @@ /* tippy popover */ .tippy-target { - position: fixed; - inset: 0; - z-index: 9999; - pointer-events: none; + @apply pointer-events-none fixed inset-0 z-tooltip; } .tippy-target > * { diff --git a/tailwind.config.js b/tailwind.config.js index 609605f7..0083477d 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -9,7 +9,7 @@ config({path: ".env"}) export default { content: ["./src/**/*.{html,js,svelte,ts}"], darkMode: ["selector", '[data-theme="dark"]'], - safelist: ["bg-success", "bg-warning", 'w-4 h-4'], + safelist: ["bg-success", "bg-warning", "w-4 h-4"], theme: { extend: {}, zIndex: { @@ -21,7 +21,7 @@ export default { nav: 5, popover: 6, modal: 7, - "modal-feature": 8, + tooltip: 8, toast: 9, }, },