mirror of
https://github.com/ae-utbm/sith.git
synced 2025-01-06 15:11:21 +00:00
Add popup css class and display basket error messages with it on counter click
This commit is contained in:
parent
c80fe094a2
commit
138e1662c7
@ -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;
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user