MDL-67511 core: Adjust spacing at top of toast-wrapper

This commit is contained in:
Andrew Nicols 2019-12-19 09:26:36 +08:00
parent cb38ab1e39
commit 4d4409437a
4 changed files with 9 additions and 1 deletions

View File

@ -1 +1 @@
<div class="toast-wrapper mx-auto py-3 fixed-top" role="status" aria-live="polite"></div>
<div class="toast-wrapper mx-auto py-0 fixed-top" role="status" aria-live="polite"></div>

View File

@ -2281,4 +2281,8 @@ $picker-emojis-per-row: 7 !default;
max-height: 0;
// Place these above any modals and other elements.
z-index: 1051;
> :first-child {
margin-top: $spacer;
}
}

View File

@ -11237,6 +11237,8 @@ body.h5p-embed .h5pmessages {
max-width: 350px;
max-height: 0;
z-index: 1051; }
.toast-wrapper > :first-child {
margin-top: 1rem; }
.icon {
font-size: 16px;

View File

@ -11448,6 +11448,8 @@ body.h5p-embed .h5pmessages {
max-width: 350px;
max-height: 0;
z-index: 1051; }
.toast-wrapper > :first-child {
margin-top: 1rem; }
.icon {
font-size: 16px;