Skip to content

Commit

Permalink
fix: mobile toast styles
Browse files Browse the repository at this point in the history
Signed-off-by: veralex <alexey.verevkin@akvelon.com>
  • Loading branch information
alexakvelon authored and poiana committed Apr 3, 2023
1 parent 0a6b6a6 commit e49f124
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions assets/scss/_toasts.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
.toast {
bottom: 1rem;
top: 5rem;
right: 1rem;

min-width: 20rem;
width: 20rem;;
width: 20rem;

line-height: 1rem;

@include media-breakpoint-down(sm) {
top: 10rem;
top: unset;
bottom: 1rem;
left: 1rem;
right: 1rem;
z-index: 9999;
width: 100%;
max-width: calc(100% - 2rem);
}
}

0 comments on commit e49f124

Please sign in to comment.