UNPKG

antd-mobile

Version:
50 lines (45 loc) 922 B
.adm-toast-mask .adm-toast-wrap { position: fixed; top: 0; left: 0; width: 100%; height: 100%; text-align: center; } .adm-toast-mask .adm-toast-main { display: inline-block; position: relative; top: 50%; transform: translateY(-50%); width: auto; max-width: 408px; max-height: 70%; overflow: auto; color: white; word-break: break-all; background-color: rgba(0, 0, 0, 0.7); border-radius: 16px; pointer-events: all; font-size: var(--adm-font-size-7); line-height: 1.5; box-sizing: border-box; text-align: initial; } .adm-toast-mask .adm-toast-main-text { padding: 24px; min-width: 0; } .adm-toast-mask .adm-toast-main-icon { padding: 70px 24px; min-width: 300px; } .adm-toast-mask .adm-toast-main-icon .adm-toast-icon { text-align: center; margin-bottom: 16px; font-size: 72px; line-height: 1; } .adm-toast-loading { --size: 96px; margin: 0 auto 16px; }