1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-23 22:56:49 +09:00
This commit is contained in:
syuilo 2021-12-18 20:12:09 +09:00
parent 55ab528c87
commit 936fb136d2

View File

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