excalidraw/src/components/HintViewer.scss

32 lines
538 B
SCSS
Raw Normal View History

@import "../css/_variables";
.HintViewer {
2020-02-21 17:04:54 +01:00
pointer-events: none;
2020-08-31 14:13:34 +03:00
box-sizing: border-box;
2020-02-21 17:04:54 +01:00
position: absolute;
2020-08-31 14:13:34 +03:00
display: flex;
justify-content: center;
left: 0;
top: 100%;
max-width: 100%;
width: 100%;
margin-top: 6px;
text-align: center;
2020-08-31 14:13:34 +03:00
color: $oc-gray-6;
font-size: 0.8rem;
@media (min-width: 1200px) {
white-space: pre;
}
@media #{$media-query} {
position: static;
2020-08-31 14:13:34 +03:00
}
> span {
padding: 0.2rem 0.4rem;
background-color: var(--overlay-background-color);
border-radius: 4px;
}
}