use margin bottom for notifications component to not disable center controls

This commit is contained in:
Kendall Garner 2025-10-04 07:34:48 -07:00
parent 1b278cb33a
commit 7c24f7cba4
No known key found for this signature in database
GPG key ID: 9355F387FE765C94
3 changed files with 11 additions and 3 deletions

View file

@ -190,7 +190,16 @@ export const App = () => {
return (
<MantineProvider defaultColorScheme={mode as 'dark' | 'light'} theme={theme}>
<Notifications containerWidth="300px" position="bottom-center" zIndex={50000} />
<Notifications
containerWidth="300px"
position="bottom-center"
styles={{
root: {
marginBottom: 90,
},
}}
zIndex={50000}
/>
<PlayQueueHandlerContext.Provider value={providerValue}>
<WebAudioContext.Provider value={webAudioProvider}>
<AppRouter />

View file

@ -113,7 +113,7 @@ export const CenterControls = ({ playersRef }: CenterControlsProps) => {
return (
<>
<div className={styles.controlsContainer}>
<div className={styles.controlsContainer} style={{ zIndex: 50001 }}>
<div className={styles.buttonsContainer}>
<PlayerButton
icon={<Icon fill="default" icon="mediaStop" size={buttonSize - 2} />}

View file

@ -1,5 +1,4 @@
.root {
bottom: 90px;
background-color: var(--theme-colors-surface);
}