Skip to content

Commit

Permalink
Ensure that toasts are always visible, even when scrolling
Browse files Browse the repository at this point in the history
This is a hacky workaround, but a proper fix would require quite some refactoring. Considering that this hack is pretty isolated and not going to affect any other parts of the UI and that we will need to upgrade to Blueprint 5 at some point anyway, I’ve opted for the quick-and-dirty solution for now.
  • Loading branch information
tillprochaska committed Apr 16, 2024
1 parent 34b106d commit c178136
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/src/app/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,11 @@ a {
);
}

/* This causes toasts to appear *below* the navbar instead of on top of it */
.aleph-toaster {
/* Hacky workaround to ensure toasts are visible even when scrolling */
position: fixed !important;

/* This causes toasts to appear *below* the navbar instead of on top of it */
margin-top: $aleph-grid-size * 5;
}

Expand Down

0 comments on commit c178136

Please sign in to comment.