schlechtenburg/packages/core/lib/components/ContextMenu.scss

23 lines
333 B
SCSS

.sb-context {
position: relative;
}
.sb-context-menu {
display: none;
flex-direction: column;
background: var(--grey-0);
border: 1px solid var(--grey-3);
top: 100%;
left: 0;
margin: 0;
z-index: var(--z-context-menu);
max-height: 70vh;
max-width: 100vw;
overflow: auto;
&[open] {
display: flex;
}
}