Add popup css class and display basket error messages with it on counter click

This commit is contained in:
Antoine Bartuccio 2024-12-24 00:29:23 +01:00
parent c80fe094a2
commit 138e1662c7
2 changed files with 21 additions and 2 deletions

View File

@ -337,12 +337,31 @@ body {
margin-left: -125px;
box-sizing: border-box;
position: fixed;
z-index: 1;
z-index: 10;
/* to get on top of tomselect */
left: 50%;
top: 60px;
text-align: center;
}
.popup {
z-index: 10;
/* to get on top of tomselect */
display: inline-block;
text-align: center;
overflow: auto;
margin: auto;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
height: 20vh;
width: 20vw;
align-content: center;
}
.tabs {
border-radius: 5px;

View File

@ -33,7 +33,7 @@
<p
x-cloak
class="alert alert-red snackbar"
class="alert alert-red popup"
x-show="alertMessage.show"
x-transition.duration.500ms
x-text="alertMessage.content"