Skip to content

Commit 98a98b6

Browse files
committed
Hire me modal responsive ui issue fixed
1 parent 02c01f4 commit 98a98b6

File tree

1 file changed

+26
-7
lines changed

1 file changed

+26
-7
lines changed

src/components/HireMeModal.vue

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@
3434
X
3535
</button>
3636
</div>
37-
<div
38-
class="modal-body p-5 w-full h-full overflow-y-auto "
39-
>
37+
<div class="modal-body p-5 w-full h-full">
4038
<form class="max-w-xl m-4 text-left">
4139
<div class="">
4240
<input
@@ -90,9 +88,20 @@
9088
></textarea>
9189
</div>
9290

93-
<div class="mt-6">
91+
<div class="mt-6 pb-4 sm:pb-1">
9492
<button
95-
class="px-6 py-2.5 text-white font-medium tracking-wider bg-indigo-500 hover:bg-indigo-600 rounded-lg focus:ring-1 focus:ring-indigo-900"
93+
class="px-4
94+
sm:px-6
95+
py-2
96+
sm:py-2.5
97+
text-white
98+
font-normal
99+
sm:font-medium
100+
bg-indigo-500
101+
hover:bg-indigo-600
102+
rounded-md
103+
sm:rounded-lg
104+
focus:ring-1 focus:ring-indigo-900"
96105
type="submit"
97106
aria-label="Submit Request"
98107
>
@@ -102,10 +111,20 @@
102111
</form>
103112
</div>
104113
<div
105-
class="modal-footer py-3 px-5 border0-t text-right"
114+
class="modal-footer mt-2 sm:mt-0 py-5 px-8 border0-t text-right"
106115
>
107116
<button
108-
class="px-6 py-2 bg-indigo-400 hover:bg-indigo-500 rounded-lg font-bold text-primary-light focus:ring-1 focus:ring-indigo-900"
117+
class=" px-4
118+
sm:px-6
119+
py-2
120+
bg-indigo-400
121+
hover:bg-indigo-500
122+
rounded-md
123+
sm:rounded-lg
124+
font-normal
125+
sm:font-bold
126+
text-primary-light
127+
focus:ring-1 focus:ring-indigo-900"
109128
@click="showModal()"
110129
aria-label="Close Modal"
111130
>

0 commit comments

Comments
 (0)