body { margin: 0; } main { /* background: blue; */ } main .panel { height: 100%; position: absolute; } menu.sidebar { height: calc(100% - 50px); position: relative; margin: 0; padding: 25px 10px; background: #F7F9FA; list-style: none; font-size: 18px; display: flex; flex-direction: column; gap: 20px; } menu.sidebar li { color: #4C555E; display: flex; align-items: center; gap: 10px; margin: 5px 0; } /* The user avatar */ menu.sidebar img { width: 50px; height: 50px; margin: 0 auto; border-radius: 50%; } menu.sidebar li:hover { color: #1D262E; cursor: pointer; } menu.sidebar svg { height: 24px; width: 24px; }