.midaro-bp-notification-link {
    display: block;
}

.midaro-bp-notification-content {
    display: inline;
}

/* BuddyBoss renders the REST avatar in several differently named desktop,
 * dropdown and toast containers. Keep the system image an avatar, never a
 * content image, without changing avatars of unrelated notifications. */
:is(li, .notification-item, .bb-notification-item, .bb-toast, .bb-toast-item, .notification-wrap):has(.midaro-bp-notification-content) img {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.bb-notification-panel .notification-avatar img,
.header-notifications .notification-avatar img,
.notification-dropdown .notification-avatar img {
    width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    max-height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}
