Skip to content

Commit

Permalink
Make FLuentToastContainer work better on mobile devices (was #684)
Browse files Browse the repository at this point in the history
  • Loading branch information
vnbaaij committed Sep 3, 2023
1 parent cf571a4 commit b4d1722
Showing 1 changed file with 31 additions and 36 deletions.
67 changes: 31 additions & 36 deletions src/Core/Components/Toast/FluentToastContainer.razor.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,39 +17,34 @@
bottom: 0;
}

@media (min-width: 576px) {

.position-topleft {
top: 24px;
left: 24px;
}

.position-topright {
top: 24px;
right: 24px;
}

.position-topcenter {
top: 24px;
left: 50%;
transform: translate(-50%, 0%);
}

.position-bottomleft {
bottom: 24px;
left: 24px;
}

.position-bottomright {
bottom: 24px;
right: 24px;
}

.position-bottomcenter {
bottom: 24px;
left: 50%;
transform: translate(-50%, 0%);
}


}
.position-topleft {
top: 24px;
left: 24px;
}

.position-topright {
top: 24px;
right: 24px;
}

.position-topcenter {
top: 24px;
left: 50%;
transform: translate(-50%, 0%);
}

.position-bottomleft {
bottom: 24px;
left: 24px;
}

.position-bottomright {
bottom: 24px;
right: 24px;
}

.position-bottomcenter {
bottom: 24px;
left: 50%;
transform: translate(-50%, 0%);
}

0 comments on commit b4d1722

Please sign in to comment.