Skip to content
Snippets Groups Projects
Commit 56ebe08b authored by xaralis's avatar xaralis
Browse files

feat: add .modal__close

parent 15a24ef4
No related branches found
Tags 2.8.0
No related merge requests found
Pipeline #7809 passed
......@@ -2,6 +2,7 @@
<div class="modal__content" role="dialog">
<div class="modal__container w-full max-w-2xl" role="dialog">
<div class="modal__container-body elevation-10">
<button class="modal__close" title="Zavřít"><i class="ico--cross"></i></button>
{{> molecules-image-card }}
</div>
</div>
......
......@@ -35,10 +35,26 @@
}
.modal__container-body {
@apply bg-white;
@apply bg-white relative;
}
}
.modal__close {
@apply
absolute
right-0
top-0
h-8
w-8
flex
items-center
justify-center
z-50
m-auto
text-black
bg-white;
}
.ReactModal__Body--open {
@apply overflow-hidden;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment