Skip to content

Commit 35f6902

Browse files
committed
Modal header
1 parent f694e68 commit 35f6902

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

src/components/shared/Header.vue

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,22 @@
115115
class="modal-wrapper flex items-center z-30"
116116
>
117117
<div
118-
class="modal max-w-md mx-auto xl:max-w-5xl lg:max-w-5xl md:max-w-2xl bg-white max-h-screen shadow-lg flex-row rounded relative"
118+
class="modal max-w-md mx-auto xl:max-w-xl lg:max-w-xl md:max-w-xl bg-secondary-light dark:bg-primary-dark max-h-screen shadow-lg flex-row rounded-xl relative"
119119
>
120120
<div
121-
class="modal-header p-5 bg-gray-900 text-gray-900 rounded-t"
121+
class="modal-header flex justify-between p-5 border-b border-ternary-light dark:border-ternary-dark"
122122
>
123-
<h5 class="text-white text-2xl uppercase">
124-
this is header
123+
<h5
124+
class=" text-primary-dark dark:text-primary-light text-2xl"
125+
>
126+
What project are you looking for?
125127
</h5>
128+
<button
129+
class="px-4 font-bold text-primary-dark dark:text-primary-light"
130+
@click="showModal()"
131+
>
132+
X
133+
</button>
126134
</div>
127135
<div
128136
class="modal-body p-5 w-full h-full overflow-y-auto "
@@ -141,14 +149,7 @@
141149
</div>
142150
<div
143151
class="modal-footer py-3 px-5 border0-t text-right"
144-
>
145-
<button
146-
class="bg-green-500 px-5 py-2 text-white"
147-
@click="showModal()"
148-
>
149-
OK
150-
</button>
151-
</div>
152+
></div>
152153
</div>
153154
</div>
154155
</transition>

0 commit comments

Comments
 (0)