style: add padding to terminal
mellbacon committed
Feb 2, 2024 at 18:48 UTC
2a84a458cbc8030ae9ee856d14716ffec0055f8a
2 files changed
+9
-2
src/lib/Terminal.svelte
+1
-1
@@ -79,7 +79,7 @@ async function readFromPty() {
79
80
<style>
81
#terminal {
82
- height: 100%;
82
+ height: 97.5%;
83
width: 100%;
84
}
85
</style>
\ No newline at end of file
src/lib/ToolView.svelte
+8
-1
@@ -10,7 +10,9 @@
10
</script>
11
<div id="toolview">
12
<div class="header">{name} <span class="close" on:click={closePanel}></span></div>
13
- <svelte:component this={content}></svelte:component>
13
+ <div class="toolview-container">
14
+ <svelte:component this={content}></svelte:component>
15
+ </div>
16
</div>
17
18
<style lang="scss">
@@ -18,6 +20,11 @@
20
height: calc(100% - 37px);
21
width: 100%;
22
}
23
+.toolview-container {
24
+ padding: 8px;
25
+ height: 100%;
26
+
27
+}
28
.header {
29
height: 35px;
30
display: flex;