/* drag-to-resize element will not be present if secondary-panel is not filled */
.drag-to-resize {
    width: 16px;
    background-color: var(--greenfresh-mint);
    cursor: grab;
    border: 1px solid black;
}
.drag-to-resize:active {
    cursor: grabbing;
}

/* Only child will fill the entire box */
.drag-resize-panel > div:only-child {
    flex-grow: 1;
}
/* If not only child, don't fill the box, and limit min/max */
.drag-resize-panel > div:not(:only-child):first-child {
    flex-grow: 0;
    min-width: 25%;
    width: 50%;
    max-width: 75%;
}
/* If not only child, the last child will fill the remaining space */
.drag-resize-panel > div:not(:only-child):last-child {
    flex: 1 1 0;
}