.toastBase { height: 40px !important; width: 100% !important; z-index: 1000; box-shadow: none; border-radius: 0; padding-left: 0.5rem !important; padding-right: 0.5rem !important; padding-top: 1rem !important; padding-bottom: 1rem !important; transition: opacity 0.15s linear; position: absolute; right: 0; text-align: center; } .toast-body-override { width: 95%; padding: unset ip !important; } .toastCloseButtonContainer { display: flex; justify-content: flex-end; width: 10%; } .toastCloseButton { border-radius: 50% !important; color: #5b476b !important; background-color: #fff !important; padding: 0.25rem !important; opacity: unset !important; /* This is the actual svg pulled from bootstrap. not the 0.5em beside center on the 2nd line. This is what has changed */ background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/0.5em auto no-repeat; } .toastIcon { padding-left: 10px; } .toastCloseButton:hover { color: #000; text-decoration: none; opacity: unset !important; } .toastText { font-family: IBM Plex Sans !important; font-style: normal !important; font-weight: 600 !important; font-size: 16px !important; line-height: 24px !important; color: #5b476b !important; } .toastSuccess { background-color: #dcf5f0; border-bottom: 1px solid #40c9ae !important; } .toastWarning { background-color: #fff0f0; border-bottom: 1px solid #e82828 !important; } .toastWarning .toastText { color: #d32f2f !important; } .toastCloseIcon { position: absolute; right: 22px; } @media (max-width: 768px) { .toastBase { width: 100%; /* height: auto; */ padding: 12px 66px 12px 22px; } .toastText { font-size: 14px; } }