Skip to content

Commit

Permalink
fix z indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed Nov 14, 2024
1 parent 99a89c9 commit 976aa17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions apps/desktop/src/components/titlebar/Titlebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ export default function Titlebar() {
return (
<header
class={cx(
"flex flex-row items-center select-none space-x-1 shrink-0 border-gray-200 rounded-[inherit]",
"flex flex-row items-center z-50 select-none space-x-1 shrink-0 border-gray-200",
titlebarState.transparent ? "" : "bg-gray-50",
titlebarState.border ? "border-b" : ""
)}
style={{
height: titlebarState.height,
"z-index": "999999",
}}
data-tauri-drag-region
>
Expand Down
3 changes: 2 additions & 1 deletion apps/desktop/src/routes/(window-chrome)/setup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ import { generalSettingsStore } from "~/store";
import { Portal } from "solid-js/web";
import { cx } from "cva";
import { type as ostype } from "@tauri-apps/plugin-os";
import Titlebar from "~/components/titlebar/Titlebar";

function Startup(props: { onClose: () => void }) {
const [audioState, setAudioState] = makePersisted(
Expand Down Expand Up @@ -286,7 +287,7 @@ function Startup(props: { onClose: () => void }) {

return (
<Portal>
<div class="absolute inset-0 z-50">
<div class="absolute inset-0 z-40">
<style>
{`
body {
Expand Down

1 comment on commit 976aa17

@vercel
Copy link

@vercel vercel bot commented on 976aa17 Nov 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.