mirror of
https://github.com/tale/headplane.git
synced 2026-08-30 00:47:17 +00:00
feat: switch to new dialog gutter
This commit is contained in:
@@ -27,7 +27,7 @@ export default function Modal({ isEnabled, disabled }: Properties) {
|
||||
Devices will no longer be accessible via your tailnet domain. The
|
||||
search domain will also be disabled.
|
||||
</Dialog.Text>
|
||||
<div className="mt-6 flex justify-end gap-2 mt-6">
|
||||
<Dialog.Gutter>
|
||||
<Dialog.Action variant="cancel" onPress={close}>
|
||||
Cancel
|
||||
</Dialog.Action>
|
||||
@@ -50,7 +50,7 @@ export default function Modal({ isEnabled, disabled }: Properties) {
|
||||
>
|
||||
{isEnabled ? 'Disable' : 'Enable'} Magic DNS
|
||||
</Dialog.Action>
|
||||
</div>
|
||||
</Dialog.Gutter>
|
||||
</>
|
||||
)}
|
||||
</Dialog.Panel>
|
||||
|
||||
@@ -60,7 +60,7 @@ export default function Modal({ name, disabled }: Properties) {
|
||||
state={[newName, setNewName]}
|
||||
className="my-2"
|
||||
/>
|
||||
<div className="mt-6 flex justify-end gap-2 mt-6">
|
||||
<Dialog.Gutter>
|
||||
<Dialog.Action variant="cancel" onPress={close}>
|
||||
Cancel
|
||||
</Dialog.Action>
|
||||
@@ -82,7 +82,7 @@ export default function Modal({ name, disabled }: Properties) {
|
||||
>
|
||||
Rename
|
||||
</Dialog.Action>
|
||||
</div>
|
||||
</Dialog.Gutter>
|
||||
</>
|
||||
)}
|
||||
</Dialog.Panel>
|
||||
|
||||
Reference in New Issue
Block a user