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

24 lines
360 B
SCSS
Raw Normal View History

2021-02-22 23:12:06 +00:00
.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;
2022-09-05 19:12:20 +00:00
padding: 0.5rem 0.25rem;
2021-02-22 23:12:06 +00:00
z-index: var(--z-context-menu);
2021-03-07 17:47:28 +00:00
max-height: 70vh;
max-width: 100vw;
overflow: auto;
2021-02-22 23:12:06 +00:00
&[open] {
display: flex;
}
}