1
0
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:
2026-05-14 14:53:04 +01:00
parent 998eb474ec
commit 0e21fe9483
26 changed files with 58 additions and 57 deletions
@@ -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>