mirror of
https://github.com/remvze/moodist.git
synced 2025-12-19 09:54:17 +00:00
fix: prevent language switcher interaction when modal is open
This commit is contained in:
parent
c82d3ab2fe
commit
17b21e76d3
2 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ import { count as soundCount } from '@/lib/sounds';
|
||||||
import { getTranslator } from '@/i18n/utils';
|
import { getTranslator } from '@/i18n/utils';
|
||||||
|
|
||||||
import '@/styles/global.css';
|
import '@/styles/global.css';
|
||||||
import LanguageSwitcher from '@/components/LanguageSwitcher.astro';
|
import LanguageSwitcher from '@/components/language-switcher.astro';
|
||||||
interface Props {
|
interface Props {
|
||||||
description?: string;
|
description?: string;
|
||||||
title?: string;
|
title?: string;
|
||||||
|
|
@ -59,7 +59,7 @@ const description = Astro.props.description || t('site.description', { count });
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
z-index: 50;
|
z-index: 20;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
padding: 1rem 1.5rem;
|
padding: 1rem 1.5rem;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue