样式修改

This commit is contained in:
kuangthree 2024-04-20 13:35:48 +08:00
parent 16a391f74a
commit 9a0d853afa
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,5 @@
.toast-container {
display:block;
position: absolute;
top: 15%;
left: 50%;
@ -8,7 +9,10 @@
.toast {
display: none;
display: block;
position: absolute;
left: 50%;
transform: translateX(-50%);
background-color: rgba(255, 165, 0, 0.7);
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);