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
19
src/components/Stack.scss
Normal file
19
src/components/Stack.scss
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue