1
0
Fork 0
mirror of https://github.com/GuerillaStudio/compteur-de-greve.git synced 2024-10-09 05:19:02 +00:00

Fix gridstack

This commit is contained in:
Tixie 2023-03-02 08:09:42 +01:00
parent 32b52e8ec5
commit b4b43d61eb
3 changed files with 11 additions and 5 deletions

View file

@ -56,6 +56,7 @@ $notif-error: $color-red;
.notif--successPlusOne {
position: relative;
transform: scale(1.1);
}
.notif--successPlusOne::before {

View file

@ -31,8 +31,8 @@
opacity: 1;
}
.gridstack > [hidden],
.gridstack > [hidden] > * {
opacity: 0;
.gridstack > [data-hidden],
.gridstack > [data-hidden] > * {
opacity: 0.5;
visibility: hidden;
}

View file

@ -34,7 +34,9 @@ document.addEventListener('alpine:init', () => {
},
thanks: {
["x-show"]: "participating",
["x-bind:data-hidden"]: "notParticipating",
["x-bind:aria-hidden"]: "notParticipating",
["x-bind:inert"]: "notParticipating",
["x-transition"]: null
},
@ -44,7 +46,10 @@ document.addEventListener('alpine:init', () => {
},
form: {
["x-show"]: "notParticipating",
["x-bind:data-hidden"]: "participating",
["x-bind:aria-hidden"]: "participating",
["x-bind:inert"]: "participating",
["x-transition"]: null,
["x-on:submit"](event) {
event.preventDefault()