﻿
#blazor-error-ui {
    background: lightyellow;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    inset-block-end: 0;
    inset-inline-start: 0;
    padding-block: 0.6rem 0.7rem;
    padding-inline: 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        inset-inline-end: 0.75rem;
        inset-block-start: 0.5rem;
    }

/* 延长删除线 */
.text-decoration-line-through-strike {
    position: relative;
    display: inline-block;
    padding: 0 5px; /* 左右留出空间 */
}

    .text-decoration-line-through-strike::after {
        content: '';
        position: absolute;
        left: -5px; /* 向左延长 5px */
        right: -2px; /* 向右延长 2px */
        top: 50%;
        height: 1px;
        background-color: currentColor; /* 继承文字颜色 */
        transform: translateY(-50%);
    }
/* 虚线边框 */
.border-dashed {
    border-style: dashed !important;
}

.hy-AutoLineWrapping {
    white-space: normal !important;
    word-break: break-all;
}