Fixed #1315 - Toast center positioning enhancement
parent
be277adc75
commit
a9484ff654
|
@ -143,14 +143,16 @@ export default {
|
||||||
|
|
||||||
.p-toast-top-center {
|
.p-toast-top-center {
|
||||||
top: 20px;
|
top: 20px;
|
||||||
left: 50%;
|
left: 0;
|
||||||
margin-left: -10em;
|
right: 0;
|
||||||
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-toast-bottom-center {
|
.p-toast-bottom-center {
|
||||||
bottom: 20px;
|
bottom: 20px;
|
||||||
left: 50%;
|
left: 0;
|
||||||
margin-left: -10em;
|
right: 0;
|
||||||
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-toast-center {
|
.p-toast-center {
|
||||||
|
|
Loading…
Reference in New Issue