scope css under name space excalidraw (#1983)

This commit is contained in:
Aakansha Doshi 2020-09-26 02:48:45 +05:30 committed by GitHub
parent 403576861c
commit a61b212220
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 1706 additions and 1559 deletions

19
src/components/Stack.scss Normal file
View file

@ -0,0 +1,19 @@
.excalidraw {
.Stack {
--gap: 0;
display: grid;
gap: calc(var(--space-factor) * var(--gap));
}
.Stack_vertical {
grid-template-columns: auto;
grid-auto-flow: row;
grid-auto-rows: min-content;
}
.Stack_horizontal {
grid-template-rows: auto;
grid-auto-flow: column;
grid-auto-columns: min-content;
}
}