Skip to content

Commit

Permalink
fixed snackbar css
Browse files Browse the repository at this point in the history
  • Loading branch information
JagGillarVatten committed Sep 2, 2024
1 parent 00611a3 commit d575f66
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -315,4 +315,21 @@ button:active {
width: 95%;
margin: 10% auto;
}
}
}
#snackbar {
visibility: hidden;
min-width: 250px;
margin-left: -125px;
background-color: var(--snackbar-bg-color);
color: var(--snackbar-text-color);
text-align: center;
border-radius: 2rem;
padding: 16px;
position: fixed;
z-index: 1;
left: 50%;
bottom: 30px;
animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

#snackbar.show { visibility: visible; }

0 comments on commit d575f66

Please sign in to comment.