html,
.viewport {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.smart-editor {
    width: calc(100% - 300px);
    height: 100%;
}

@media (max-width: 750px) {
    .smart-editor {
        width: 100%;
    }
}

.smart-editor .section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-column-gap: 20px;
}

.smart-editor .section img {
    border: 1px dashed var(--smart-border);
    padding: 10px;
}