/* popover */ #popover-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); overflow: auto; z-index: 100; } #popover-content { position: absolute; width: 70%; margin: 0 0 0 -35%; left: 50%; top: 1%; padding: 15px; background: #fff; overflow: scroll; max-height: 85%; }