🎨
This commit is contained in:
parent
55ab528c87
commit
936fb136d2
1 changed files with 3 additions and 4 deletions
|
@ -42,7 +42,7 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
.toast-enter-from, .toast-leave-to {
|
.toast-enter-from, .toast-leave-to {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transform: translateY(calc(0px - (100% - 32px)));
|
transform: translateY(-100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.mk-toast {
|
.mk-toast {
|
||||||
|
@ -52,13 +52,12 @@ export default defineComponent({
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding-top: 32px;
|
margin-top: 16px;
|
||||||
margin-top: -32px;
|
|
||||||
min-width: 300px;
|
min-width: 300px;
|
||||||
max-width: calc(100% - 32px);
|
max-width: calc(100% - 32px);
|
||||||
width: min-content;
|
width: min-content;
|
||||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
||||||
border-radius: 0 0 8px 8px;
|
border-radius: 8px;
|
||||||
overflow: clip;
|
overflow: clip;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
Loading…
Reference in a new issue