mirror of
https://github.com/BraveOPotato/FckSignups.git
synced 2026-10-02 05:44:32 +08:00
style(Toast): use full width container on screens 376px and below for better mobile fit
This commit is contained in:
@@ -131,10 +131,31 @@ body::after {
|
||||
padding: .8rem 1rem;
|
||||
}
|
||||
|
||||
@media (max-width: 376px) {
|
||||
.toast-container {
|
||||
top: 0;
|
||||
left: 0;
|
||||
transform: translateX(0);
|
||||
border: 0;
|
||||
border-bottom: 2px solid var(--accent);
|
||||
border-radius: 0;
|
||||
width: 100dvw;
|
||||
max-width: unset;
|
||||
justify-content: space-between;
|
||||
padding: 1.2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.toast-container>p {
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
|
||||
@media (max-width: 376px) {
|
||||
.toast-container>p {
|
||||
text-wrap: wrap;
|
||||
}
|
||||
}
|
||||
|
||||
.toast-container svg {
|
||||
stroke-width: 2px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user