mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
scope css under name space excalidraw (#1983)
This commit is contained in:
parent
403576861c
commit
a61b212220
33 changed files with 1706 additions and 1559 deletions
|
@ -1,31 +1,33 @@
|
|||
@import "../css/_variables";
|
||||
|
||||
.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;
|
||||
.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;
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
white-space: pre;
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
@media #{$media-query} {
|
||||
position: static;
|
||||
}
|
||||
@media #{$media-query} {
|
||||
position: static;
|
||||
}
|
||||
|
||||
> span {
|
||||
padding: 0.2rem 0.4rem;
|
||||
background-color: var(--overlay-background-color);
|
||||
border-radius: 4px;
|
||||
> span {
|
||||
padding: 0.2rem 0.4rem;
|
||||
background-color: var(--overlay-background-color);
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue