.gallery-images-frame {
    text-align: center;

    .pagination {
        margin: 10px 0;
    }

    ol {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));

        li {
            padding: 20px;
            border: 1px solid var(--color-gray5);
            margin: -1px 0 0 -1px;
        }
    }

    .image {
        height: 300px;

        img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
    }

    .btn-list {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
    }

    .objectId-edit {
        margin-right: 6px;
    }

    .btn {
        text-indent: -9999px;
        position: relative;
        color: var(--color-black);
        width: calc(var(--gap-s) * 2 + var(--Icon-size));
        height: calc(var(--gap-s) * 2 + var(--Icon-size));
        margin-right: 6px;

        &::before {
            text-indent: 0;
            font-size: 24px;
            line-height: 1;
        }

        &:hover {
            &::before {
                color: var(--color-dominant5);
            }

            &::after {
                opacity: 0.08;
            }
        }
    }
}

.GalleryImport-folder + .ComboInput,
.GalleryImport-section + .ComboInput,
.GalleryImport-author + .ComboInput,
.GalleryImport-gallery + .ComboInput {
    margin-top: 10px;
}
