mirror of
https://github.com/hexolan/panels.git
synced 2026-05-20 11:39:22 +01:00
feat(frontend): updates to latest mantine attributes
Pending adaption to breaking changes for element attributes since changed within existing components. Adjustments to `ta`, `gap`, `fw`, etc.
This commit is contained in:
@@ -51,7 +51,7 @@ const UpdatePanelForm = ({
|
||||
|
||||
return (
|
||||
<form onSubmit={panelForm.onSubmit(submitUpdatePanel)}>
|
||||
<Stack spacing='md'>
|
||||
<Stack gap='md'>
|
||||
<TextInput label='Name' {...panelForm.getInputProps('name')} />
|
||||
<Textarea label='Description' {...panelForm.getInputProps('description')} />
|
||||
|
||||
@@ -90,7 +90,7 @@ function PanelSettingsPage() {
|
||||
return (
|
||||
<Paper mt='md' radius='lg' shadow='md' p='lg' withBorder>
|
||||
<Center>
|
||||
<Group spacing='sm'>
|
||||
<Group gap='sm'>
|
||||
{modifying
|
||||
? <Button color='teal' onClick={() => { setModifying(false); setErrorMsg('') }}>Stop Modifying</Button>
|
||||
: <Button color='teal' onClick={() => setModifying(true)}>Modify Panel</Button>
|
||||
|
||||
Reference in New Issue
Block a user