1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-18 02:41:15 +02:00

[Toast] - BUG - Fixed styles (#1036)

* [Toast] BUG - Fixed toast stylings

* Updated toast-content padding
This commit is contained in:
Vincent Salucci 2021-06-16 14:43:15 -05:00 committed by GitHub
parent 76210c30a8
commit 988f4168a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,13 +3,14 @@ $fa-font-path: "~font-awesome/fonts";
@import "~angular2-toaster/toaster"; @import "~angular2-toaster/toaster";
@import "~sweetalert2/src/sweetalert2.scss"; @import "~sweetalert2/src/sweetalert2.scss";
#toast-container { .toast-container {
&.toast-top-right { &.toast-top-right {
top: 76px; top: 76px;
} }
.toast-close-button { .toast-close-button {
right: -0.15em; margin-right: 4px;
font-size: 18px;
} }
.toast { .toast {
@ -30,8 +31,11 @@ $fa-font-path: "~font-awesome/fonts";
line-height: 20px; line-height: 20px;
float: left; float: left;
color: #ffffff; color: #ffffff;
padding-right: 10px; margin: auto 0 auto 15px;
margin: auto 0 auto -36px; }
.toast-content {
padding: 15px;
} }
.toaster-icon { .toaster-icon {
@ -54,7 +58,6 @@ $fa-font-path: "~font-awesome/fonts";
&:before { &:before {
content: "\f0e7"; content: "\f0e7";
margin-left: -30px;
} }
} }