feat(styles): one stylesheet source for react and svelte (#3350)

* feat(styles): create stylesheets for react and svelte based on one source

* refactor(styling): cleanup

* refactor(postcss): share a config

* refactor(postcss): replace env hack with env file
This commit is contained in:
Moritz Klack
2023-08-24 14:02:57 +02:00
committed by GitHub
parent d2c23c5149
commit bd922889b4
47 changed files with 1422 additions and 962 deletions
@@ -16,32 +16,3 @@
<div class={cc(['svelte-flow__panel', className, ...positionClasses])} {style} {...$$restProps}>
<slot />
</div>
<style>
.svelte-flow__panel {
position: absolute;
z-index: 5;
margin: 15px;
}
.svelte-flow__panel.top {
top: 0;
}
.svelte-flow__panel.bottom {
bottom: 0;
}
.svelte-flow__panel.left {
left: 0;
}
.svelte-flow__panel.right {
right: 0;
}
.svelte-flow__panel.center {
left: 50%;
transform: translateX(-50%);
}
</style>