panel position height dependent

This commit is contained in:
Jade (Rose) Rowland 2024-10-15 13:33:37 -04:00
parent c22c786cf2
commit dd171f8320
2 changed files with 1 additions and 3 deletions

View File

@ -44,8 +44,6 @@ export function VerticalPanel({ context }) {
return (
<PanelNav
onMouseEnter={(x) => setIsHovered(true)}
onMouseLeave={(x) => setIsHovered(false)}
className={cx(
'hover:min-w-[min(600px,80vw)] hover:max-w-[min(600px,80vw)]',
pinned ? `min-w-[min(600px,80vw)] max-w-[min(600px,80vw)]` : 'min-w-8',

View File

@ -30,7 +30,7 @@ export const defaultSettings = {
isZen: false,
soundsFilter: 'all',
patternFilter: 'community',
panelPosition: 'bottom',
panelPosition: window.innerWidth > 1000 ? 'right' : 'bottom',
isPanelPinned: true,
userPatterns: '{}',
audioDeviceName: defaultAudioDeviceName,