Set popup position to relative

Otherwise z-index has no effect.
This commit is contained in:
Simon Rozman 2024-06-28 13:33:22 +02:00
parent 6863bee513
commit ef2e232813

View File

@ -1793,15 +1793,16 @@ class BesPopup extends HTMLElement {
z-index: 1; z-index: 1;
} }
.bes-popup-container { .bes-popup-container {
font-family: Arial, sans-serif; position: relative;
visibility: hidden; visibility: hidden;
min-width: 200px; min-width: 200px;
max-width: 350px; max-width: 350px;
padding: 8px;
z-index: 1;
font-family: Arial, sans-serif;
background-color: rgb(241, 243, 249); background-color: rgb(241, 243, 249);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
border-radius: 5px; border-radius: 5px;
padding: 8px;
z-index: 1;
} }
.bes-toolbar { .bes-toolbar {
display: flex; display: flex;