bg-removal.module.scss 1.6 KB
.upload-button {
    padding: 10px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);

    /* 使用 Flexbox 布局 */
    display: flex;
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
    min-height: 45px;
}

.loading-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}


.removal-body {
    height: 100vh;
    height: 100vh;
    overflow: hidden;
    .splitter {
        height:100%;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        max-width:100vw;
        overflow: hidden;
        .splitterPanel{
            height: 100%;
            display: flex;
            direction: 'column';
            overflow: 'hidden';
            .panelFlex{
                height: 100%;
                width: 100%;
                overflow: 'hidden';
                .preview{
                    position:relative;
                    width: 100%;
                    height: 100%;
                    overflow: 'hidden';
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    .previewImage{
                        max-width: 100%;
                        max-height: 100%;
                        object-fit: contain;
                        display: block;
                    }
                    .icon{
                        position: absolute;
                        top: 10px;
                        right: 10px;
                        z-index: 5;
                    }
                }
            }
        }
        
    }
}