1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-23 05:33:02 +02:00

Create toast JS plugin, add unit tests.

This commit is contained in:
Johann-S
2018-08-23 19:31:25 +03:00
committed by XhmikosR
parent d0652a1be9
commit 16cf76ff1a
10 changed files with 529 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
.toast {
display: none;
max-width: $toast-max-width;
overflow: hidden; // cheap rounded corners on nested items
font-size: $toast-font-size; // knock it down to 14px
@@ -14,6 +15,10 @@
}
}
.toast.show {
display: inherit;
}
.toast-header {
display: flex;
align-items: center;