.page { position: relative; display: flex; flex-direction: column; } main { flex: 1; } /*.sidebar { padding: 0 10px 0 0; }*/ @media (min-width: 1023.98px) { #mainBody { min-width: 83%; width: 100%; } } #mainBodyNoSide { width: 100%; } @media (min-width: 1024px) { .page { flex-direction: row; } .sidebar { min-width: 15rem; height: 90vh; position: sticky; top: 0; left: 100%; } } #blazor-error-ui { background: lightyellow; bottom: 0; box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); display: none; left: 0; padding: 0.6rem 1.25rem 0.7rem 1.25rem; position: fixed; width: 100%; z-index: 1000; } #blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }