Style updates
This commit is contained in:
@@ -53,7 +53,9 @@ function BackgroundModal({
|
|||||||
<Modal.Content>
|
<Modal.Content>
|
||||||
<Modal.Header style={{ justifyContent: 'center' }}>
|
<Modal.Header style={{ justifyContent: 'center' }}>
|
||||||
<Group pos={'absolute'}>
|
<Group pos={'absolute'}>
|
||||||
<Text c={'var(--mantine-color-background-0)'}>Backgrounds</Text>
|
<Text fw={600} fz={'1.5rem'} c={'var(--mantine-color-primary-0)'}>
|
||||||
|
Manage Backgrounds
|
||||||
|
</Text>
|
||||||
</Group>
|
</Group>
|
||||||
<Modal.CloseButton />
|
<Modal.CloseButton />
|
||||||
</Modal.Header>
|
</Modal.Header>
|
||||||
@@ -124,7 +126,7 @@ function BackgroundModal({
|
|||||||
))}
|
))}
|
||||||
</SimpleGrid>
|
</SimpleGrid>
|
||||||
</ScrollArea>
|
</ScrollArea>
|
||||||
<Group w={'100%'} align={'center'}>
|
<Group gap={0} w={'100%'} align={'center'} justify='space-between'>
|
||||||
<FileInput
|
<FileInput
|
||||||
clearable
|
clearable
|
||||||
accept='image/png,image/jpeg'
|
accept='image/png,image/jpeg'
|
||||||
@@ -137,6 +139,7 @@ function BackgroundModal({
|
|||||||
}
|
}
|
||||||
p={'xl'}
|
p={'xl'}
|
||||||
w={'60%'}
|
w={'60%'}
|
||||||
|
pl={0}
|
||||||
error={err && 'Please upload a background'}
|
error={err && 'Please upload a background'}
|
||||||
styles={{
|
styles={{
|
||||||
input: {
|
input: {
|
||||||
@@ -151,13 +154,14 @@ function BackgroundModal({
|
|||||||
<Card
|
<Card
|
||||||
style={{
|
style={{
|
||||||
aspectRatio: '16/9',
|
aspectRatio: '16/9',
|
||||||
width: '30%',
|
width: '35%',
|
||||||
backgroundSize: 'cover',
|
backgroundSize: 'cover',
|
||||||
backgroundPosition: 'center',
|
backgroundPosition: 'center',
|
||||||
backgroundRepeat: 'no-repeat',
|
backgroundRepeat: 'no-repeat',
|
||||||
backgroundColor: 'var(--mantine-color-search-0)',
|
backgroundColor: 'var(--mantine-color-search-0)',
|
||||||
padding: '2rem',
|
padding: '2rem',
|
||||||
margin: '1rem',
|
margin: '1rem',
|
||||||
|
marginRight: 0,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{background ? (
|
{background ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user