样式修改
This commit is contained in:
parent
16a391f74a
commit
9a0d853afa
|
@ -1,4 +1,5 @@
|
||||||
.toast-container {
|
.toast-container {
|
||||||
|
display:block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 15%;
|
top: 15%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
|
@ -8,7 +9,10 @@
|
||||||
|
|
||||||
|
|
||||||
.toast {
|
.toast {
|
||||||
display: none;
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
background-color: rgba(255, 165, 0, 0.7);
|
background-color: rgba(255, 165, 0, 0.7);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
||||||
|
|
Loading…
Reference in New Issue