Added notification system
mellobacon committed
Nov 29, 2022 at 17:00 UTC
6de0315a126e7e52d2d863cf81bed14f46aba960
1 file changed
+15
-2
src/components/View/MainView.svelte
+15
-2
@@ -21,13 +21,26 @@
21
</div>
22
</Pane>
23
{#if $showpanel}
24
- <Pane bind:size={panelsize} minSize={4}><div class="panel">{$tool.content}</Pane>
24
+ <Pane bind:size={panelsize} minSize={5}><div class="panel">
25
+ <svelte:component this={$tool.content}></svelte:component>
26
+ </Pane>
27
{/if}
28
</Splitpanes>
29
<Footer></Footer>
30
</div>
31
30
-<style>
32
+<style lang="scss">
33
+ .panel {
34
+ width: 100%;
35
+ height: 100%;
36
+ overflow: overlay;
37
+ &::-webkit-scrollbar {
38
+ width: 12px;
39
+ }
40
+ &::-webkit-scrollbar-thumb {
41
+ background-color: #4c4c4c38;
42
+ }
43
+ }
44
#container {
45
height: 100%;
46
overflow: hidden;