feat: switch to new dialog gutter

This commit is contained in:
Aarnav Tale
2025-01-20 08:14:42 +00:00
parent af248df648
commit c24cd34925
15 changed files with 29 additions and 29 deletions
+2 -2
View File
@@ -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>
+2 -2
View File
@@ -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>