File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed
Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 33export 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
Original file line number Diff line number Diff 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 - 116 px ) !important ;
31+ height : calc (100vh - 109 px ) !important ;
3132 }
3233}
3334
Original file line number Diff line number Diff 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+   ;
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 ( 100 vh - 120 px ) ;
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% - 15 px ) ;
170+ height : 100% ;
167171 overflow-y : scroll ;
172+ padding-bottom : 20px ;
168173
169174
170175 .header {
Original file line number Diff line number Diff 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- }
You can’t perform that action at this time.
0 commit comments