Skip to content

Commit b4bbdbf

Browse files
committed
custom styling applied for swal2
1 parent 1792c55 commit b4bbdbf

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

angular/src/shared/core.less

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.swal-footer {
2-
text-align: center;
3-
}
4-
51
@media (min-width: 576px) {
62
.nav-user-menu .user-image {
73
float: none;
@@ -24,3 +20,28 @@
2420
position: absolute;
2521
margin-left: 3px;
2622
}
23+
24+
/* Sweet alert */
25+
.swal2-title {
26+
display: inline-block !important;
27+
}
28+
29+
body.swal2-height-auto {
30+
height: inherit !important;
31+
}
32+
33+
.swal2-popup.swal2-toast {
34+
padding: 10px 12px !important;
35+
display: block !important;
36+
}
37+
38+
.swal2-popup.swal2-toast .swal2-header,
39+
.swal2-popup.swal2-toast .swal2-title,
40+
.swal2-popup.swal2-toast .swal2-content {
41+
text-align: left !important;
42+
margin: 0 !important;
43+
}
44+
45+
.swal2-popup.swal2-toast .swal2-title {
46+
margin-bottom: 4px !important;
47+
}

0 commit comments

Comments
 (0)