feat: switch to new dialog gutter
This commit is contained in:
parent
af248df648
commit
c24cd34925
15 changed files with 29 additions and 29 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue