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

25 lines
389 B
SCSS

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