.border-layout {
    display: grid;
    height: 100%;
    grid-template-areas:
           "north north north"
           "west  center east"
           "south south south";
    grid-template-rows:
           auto
           minmax(0, 1fr)
           auto;
    grid-template-columns:
           auto
           minmax(0, 1fr)
           auto;
}

.border-layout > .north,
.border-layout > .west,
.border-layout > .east,
.border-layout > .south,
.border-layout > .center {
    min-width: 0;
    min-height: 0;
    overflow-y: auto;          /* was: scroll */
    border: 1px solid black;
}
/* Override to always display scrollbar in the main content pane */
.border-layout > .center { overflow-y: scroll; }

.border-layout > .center::-webkit-scrollbar { width: 12px; }
.border-layout > .center::-webkit-scrollbar-thumb { background: #888; border-radius: 6px; }
.border-layout > .center::-webkit-scrollbar-track { background: #f1f1f1; }

.border-layout > .north  { grid-area: north; }
.border-layout > .west   { grid-area: west; }
.border-layout > .center { grid-area: center; }
.border-layout > .east   { grid-area: east; }
.border-layout > .south  { grid-area: south; }