mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-13 12:29:58 +02:00
scope css under name space excalidraw (#1983)
This commit is contained in:
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user