Skip to content

Commit f694e68

Browse files
committed
Show modal method
1 parent fff33d3 commit f694e68

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

src/components/shared/Header.vue

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,4 +213,43 @@ export default {
213213
@apply dark:text-indigo-400;
214214
@apply font-medium;
215215
}
216+
217+
.modal-body {
218+
max-height: 500px;
219+
}
220+
.bg-gray-800-opacity {
221+
background-color: #2d374850;
222+
}
223+
@media screen and (max-width: 768px) {
224+
.modal-body {
225+
max-height: 400px;
226+
}
227+
}
228+
.fade-up-down-enter-active {
229+
transition: all 0.3s ease;
230+
}
231+
.fade-up-down-leave-active {
232+
transition: all 0.3s ease;
233+
}
234+
.fade-up-down-enter {
235+
transform: translateY(10%);
236+
opacity: 0;
237+
}
238+
.fade-up-down-leave-to {
239+
transform: translateY(10%);
240+
opacity: 0;
241+
}
242+
243+
.fade-enter-active {
244+
-webkit-transition: opacity 2s;
245+
transition: opacity 0.3s;
246+
}
247+
.fade-leave-active {
248+
transition: opacity 0.3s;
249+
}
250+
251+
.fade-enter,
252+
.fade-leave-to {
253+
opacity: 0;
254+
}
216255
</style>

0 commit comments

Comments
 (0)