table { display: block; height: max(600px, calc(100vh - 300px)); width: 100%; overflow-x: auto; overflow-y: auto; border: none; td { border: none; } thead th { position: sticky; top: 0; background-color: #222b45; z-index: 2; border: none; } thead th.list-title { writing-mode: vertical-lr; transform: rotate(180deg); vertical-align: top; } tbody th { position: sticky; left: 0; background-color: #222b45; border: none; z-index: 1; } tbody tr { line-height: 5px; } } nb-card.more-info-panel { min-width: 450px; max-width: 800px; }