Skip to content

Commit

Permalink
fix: correct z-index of toasts
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Hivert <[email protected]>
  • Loading branch information
ghivert committed May 14, 2024
1 parent 226961a commit 768f358
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/grille_pain/src/grille_pain/internals/view.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ fn wrapper_position_style(toast: Toast) {
sketch.position("fixed"),
sketch.top(px(min_bot)),
sketch.transition("right 0.7s, top 0.7s"),
sketch.z_index(1_000_000),
case toast.displayed {
True -> sketch.right(px(0))
False ->
Expand Down

0 comments on commit 768f358

Please sign in to comment.