mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 13:00:25 +02:00
migrate to mantine v9
This commit is contained in:
@@ -1214,7 +1214,7 @@ export const AlbumArtistDetailContent = ({
|
||||
artistSongsLink={artistSongsLink}
|
||||
onArtistRadio={handleArtistRadio}
|
||||
/>
|
||||
<Grid gutter="2xl">
|
||||
<Grid gap="2xl">
|
||||
<AlbumArtistMetadataGenres
|
||||
genres={detailQuery.data?.genres}
|
||||
order={genresOrder}
|
||||
|
||||
@@ -273,7 +273,7 @@ export const SleepTimerButton = () => {
|
||||
|
||||
<Divider my="md" />
|
||||
|
||||
<Grid gutter="xs">
|
||||
<Grid gap="xs">
|
||||
{PRESET_OPTIONS.filter((option) => option.mode === 'timed').map(
|
||||
(option, index) => (
|
||||
<Grid.Col key={index} span={4}>
|
||||
|
||||
@@ -552,7 +552,7 @@ const PlaylistTableItem = memo(
|
||||
|
||||
return (
|
||||
<Box className={styles.container} w="100%">
|
||||
<Grid align="center" gutter="xs" w="100%">
|
||||
<Grid align="center" gap="xs" w="100%">
|
||||
<Grid.Col span="content">
|
||||
<Flex align="center" justify="center" px="sm">
|
||||
<ItemImage
|
||||
|
||||
@@ -18,12 +18,7 @@ export const ActionBar = () => {
|
||||
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
<Grid
|
||||
display="flex"
|
||||
gutter="sm"
|
||||
style={{ padding: '0 var(--theme-spacing-md)' }}
|
||||
w="100%"
|
||||
>
|
||||
<Grid display="flex" gap="sm" style={{ padding: '0 var(--theme-spacing-md)' }} w="100%">
|
||||
<Grid.Col span={7}>
|
||||
<TextInput
|
||||
leftSection={<Icon icon="search" />}
|
||||
|
||||
@@ -6,7 +6,7 @@ import styles from './sidebar-item.module.css';
|
||||
|
||||
import { Button, ButtonProps } from '/@/shared/components/button/button';
|
||||
|
||||
interface SidebarItemProps extends ButtonProps {
|
||||
interface SidebarItemProps extends Omit<ButtonProps, 'component' | 'ref'> {
|
||||
to: LinkProps['to'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user