<?php if ($items): ?>
    <div
        class="layout-cell sidenav-tree bg-p"
        data-control="sidenav-tree"
        data-search-input="#docs-search-input"
    >
        <div class="layout">
            <div class="layout-row min-size">
                <?= $this->makePartial('sidenav-tree-toolbar') ?>
            </div>
            <div class="layout-row">
                <div class="layout-cell">
                    <div class="layout-relative">
                        <div class="layout-absolute">
                            <div class="control-scrollbar" data-control="scrollbar">
                                <?= $this->makePartial('sidenav-tree-items') ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php endif; ?>
