Skip to content

Commit 73ae84b

Browse files
author
Piotr
committed
small style fixes
1 parent c221ea8 commit 73ae84b

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<link
99
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700;800&family=Roboto+Mono:wght@300;400;700;800&display=swap"
1010
rel="stylesheet">
11-
<script type="module" src="/public/wasm_exec.js" type="text/javascript"></script>
11+
<script type="module" src="/wasm_exec.js" type="text/javascript"></script>
1212

1313
</head>
1414

src/breser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
export const BreserInit = async () => {
44
//@ts-expect-error
55
const go = new Go();
6-
const result = await WebAssembly.instantiateStreaming(fetch("/public/main.wasm"), go.importObject)
6+
const result = await WebAssembly.instantiateStreaming(fetch("/main.wasm"), go.importObject)
77
go.run(result.instance)
88
}
99

src/components/DemoBar.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ defineEmits<{
1616
<button @click="$emit('stop')" :disabled="useMainStore().demoStatus === 'stopped'">Stop</button>
1717
<button @click="$emit('add')">Add 100 messages</button>
1818
<button @click="$emit('mode', 'json')" :disabled="useMainStore().demoContent === 'json'">Produce JSON</button>
19-
<button @click="$emit('mode', 'string')" :disabled="useMainStore().demoContent === 'string'">Produce string</button>
19+
<button @click="$emit('mode', 'string')" :disabled="useMainStore().demoContent === 'string'">Produce
20+
string</button>
2021
</div>
2122
</template>
2223

@@ -27,7 +28,7 @@ defineEmits<{
2728
}
2829
2930
.layout {
30-
height: calc(100vh - 116px) !important;
31+
height: calc(100vh - 109px) !important;
3132
}
3233
}
3334

src/components/Drawer.vue

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ const copyToClipboard = (value: string) => {
119119
<pre><code>{{ row.msg.origin?.file }}</code></pre>
120120
</div>
121121
</div>
122+
<div style="margin-bottom: 80px;">
123+
<!-- It's a spacer div, leave it here -->
124+
&nbsp;
125+
</div>
122126
</div>
123127
</div>
124128
</template>
@@ -127,10 +131,10 @@ const copyToClipboard = (value: string) => {
127131
.drawer {
128132
right: 0;
129133
top: 0;
130-
height: calc(100vh - 120px);
134+
height: 100%;
131135
background: var(--hl-bg);
132136
z-index: 999;
133-
opacity: 0.97;
137+
opacity: 0.99;
134138
padding: 10px;
135139
padding-left: 0px;
136140
padding-top: 0;
@@ -163,8 +167,9 @@ const copyToClipboard = (value: string) => {
163167
164168
.inner-drawer {
165169
padding-top: 20px;
166-
height: calc(100% - 15px);
170+
height: 100%;
167171
overflow-y: scroll;
172+
padding-bottom: 20px;
168173
169174
170175
.header {

src/style.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,3 @@ button:focus-visible {
128128
.card {
129129
padding: 2em;
130130
}
131-
132-
#app {
133-
/* max-width: 1280px; */
134-
/* margin: 0 auto; */
135-
/* padding: 1rem; */
136-
}

0 commit comments

Comments
 (0)