1
0
mirror of https://github.com/bitwarden/web synced 2025-12-14 15:23:14 +00: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 Vincent Salucci
parent 3dec25a607
commit b370f3de56

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;
} }
} }