excalidraw/src/components/HintViewer.scss

34 lines
659 B
SCSS
Raw Normal View History

@import "../css/variables.module";
2020-12-27 16:27:25 -05:00
// this is loosely based on the longest hint text
$wide-viewport-width: 1000px;
.excalidraw {
.HintViewer {
pointer-events: none;
box-sizing: border-box;
position: absolute;
display: flex;
justify-content: center;
left: 0;
top: 100%;
max-width: 100%;
width: 100%;
margin-top: 6px;
text-align: center;
color: $oc-gray-6;
font-size: 0.8rem;
2020-08-31 14:13:34 +03:00
2020-12-27 16:27:25 -05:00
@media #{$is-mobile-query} {
position: static;
2020-12-27 16:27:25 -05:00
padding-right: 2em;
}
2020-08-31 14:13:34 +03:00
> span {
padding: 0.2rem 0.4rem;
background-color: var(--overlay-background-color);
border-radius: 4px;
}
}
}