Skip to content

Commit 77021bb

Browse files
committed
🔧 Fixed: Button Group in Modal
1 parent fb67bbd commit 77021bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎constituents/modals.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useState, useRef, Fragment } from "react";
22
import { Dialog, DialogPanel, Transition, TransitionChild } from "@headlessui/react";
3-
import { Button, ButtonNull, ButtonSecondaryNull } from "@/constituents/buttons";
3+
import { Button, ButtonNull, ButtonSecondaryNull, ButtonGroup } from "@/constituents/buttons";
44
import Image from 'next/image'
55
// width, height, blurDataUrl is not needed when importing image :D
66
import Resume from '@/public/MidhunJinan_Resume.jpg'
@@ -65,7 +65,7 @@ export default function ResumeModal() {
6565
alt="Mid Hunter's Resume"
6666
placeholder="blur"
6767
/>
68-
<div className="flex m-3">
68+
<ButtonGroup>
6969
<Button
7070
target="_blank"
7171
href="MidhunJinan_Resume.pdf"
@@ -75,7 +75,7 @@ export default function ResumeModal() {
7575
onClick={closeModal}
7676
text="Go Back"
7777
/>
78-
</div>
78+
</ButtonGroup>
7979
</section>
8080
</DialogPanel>
8181
</TransitionChild>

0 commit comments

Comments
 (0)