Fixed #1315 - Toast center positioning enhancement

pull/1340/head
Tuğçe Küçükoğlu 2021-06-09 15:47:05 +03:00
parent be277adc75
commit a9484ff654
1 changed files with 6 additions and 4 deletions

View File

@ -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 {