body { position: relative; } .tribute-container { position: absolute; top: 0; left: 0; height: auto; max-height: 300px; max-width: 500px; overflow: auto; display: block; z-index: 999999; } .tribute-container ul { margin: 0; margin-top: 2px; padding: 0; list-style: none; background: var(--light); } .tribute-container li { padding: 5px 5px; cursor: pointer; } .tribute-container li.highlight { background: var(--primary); } .tribute-container li span { font-weight: bold; } .tribute-container li.no-match { cursor: default; } .tribute-container .menu-highlighted { font-weight: bold; }