Fix misc. styles
This commit is contained in:
parent
8cc5ec6797
commit
320f583660
2 changed files with 15 additions and 18 deletions
|
@ -1,5 +1,5 @@
|
||||||
import type { ChangeEvent } from 'react';
|
import type { ChangeEvent } from 'react';
|
||||||
import { Stack } from '@mantine/core';
|
import { Divider, Stack } from '@mantine/core';
|
||||||
import { MultiSelect } from '/@/renderer/components/select';
|
import { MultiSelect } from '/@/renderer/components/select';
|
||||||
import { Slider } from '/@/renderer/components/slider';
|
import { Slider } from '/@/renderer/components/slider';
|
||||||
import { Switch } from '/@/renderer/components/switch';
|
import { Switch } from '/@/renderer/components/switch';
|
||||||
|
@ -170,7 +170,7 @@ export const TableConfigDropdown = ({ type }: TableConfigDropdownProps) => {
|
||||||
return (
|
return (
|
||||||
<Stack
|
<Stack
|
||||||
p="1rem"
|
p="1rem"
|
||||||
spacing="xl"
|
spacing="md"
|
||||||
>
|
>
|
||||||
<Stack spacing="xs">
|
<Stack spacing="xs">
|
||||||
<Text>Table Columns</Text>
|
<Text>Table Columns</Text>
|
||||||
|
@ -193,20 +193,17 @@ export const TableConfigDropdown = ({ type }: TableConfigDropdownProps) => {
|
||||||
onChangeEnd={handleUpdateRowHeight}
|
onChangeEnd={handleUpdateRowHeight}
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Stack spacing="xs">
|
<Divider my="0.5rem" />
|
||||||
<Text>Auto Fit Columns</Text>
|
|
||||||
<Switch
|
<Switch
|
||||||
defaultChecked={tableConfig[type]?.autoFit}
|
defaultChecked={tableConfig[type]?.autoFit}
|
||||||
|
label="Auto-fit columns"
|
||||||
onChange={handleUpdateAutoFit}
|
onChange={handleUpdateAutoFit}
|
||||||
/>
|
/>
|
||||||
</Stack>
|
|
||||||
<Stack spacing="xs">
|
|
||||||
<Text>Follow Current Song</Text>
|
|
||||||
<Switch
|
<Switch
|
||||||
defaultChecked={tableConfig[type]?.followCurrentSong}
|
defaultChecked={tableConfig[type]?.followCurrentSong}
|
||||||
|
label="Follow current song"
|
||||||
onChange={handleUpdateFollow}
|
onChange={handleUpdateFollow}
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -10,8 +10,8 @@ export const DrawerPlayQueue = () => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack
|
<Stack
|
||||||
pb="1rem"
|
h="100%"
|
||||||
sx={{ height: '100%' }}
|
spacing={0}
|
||||||
>
|
>
|
||||||
<PlayQueue
|
<PlayQueue
|
||||||
ref={queueRef}
|
ref={queueRef}
|
||||||
|
|
Reference in a new issue