/**
 * Copyright (c) 2021 Peyton Gasink
 * Distributed under MIT License.
 
 * This file contains all the styling for the toasts. It may cause
 * conflicting styles if simultaneously using Bootstrap toasts not generated by
 * Bootstrap Toaster, which is not recommended.
 */

.status-icon {
    font-size: 1.1rem;
}

#toastContainer {
    max-height: 100vh;
    /* Override Bootstrap 5's pointer-events:none on .toast-container, so overflow-y: scroll works */
    pointer-events: auto;
    overflow-y: scroll;
    /* Hide scrollbar in Firefox */
    scrollbar-width: none;
    /* Render in front of Bootstrap toasts */
    z-index: 1060;
}

/* Hide scrollbar in all webkit-based browsers. */
#toastContainer::-webkit-scrollbar {
    display: none;
}

#toastContainer .toast {
    margin: 0.8rem;
}