Compare commits

...
2 Commits
4 changed files with 17 additions and 6 deletions
+4
View File
@@ -22,3 +22,7 @@ dist-ssr
*.njsproj
*.sln
*.sw?
.env
tsconfig.tsbuildinfo
package-lock.json
Executable
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
/snap/bin/node /home/nonroot/unloze-wrapper/server.js
+5
View File
@@ -204,6 +204,11 @@ export default defineComponent({
this.files.push(...(data.files || []));
this.nextToken = data.nextToken;
this.loading = false;
// Keep fetching until we've retrieved every page for this prefix/search
if (data.isTruncated && data.nextToken) {
await this.fetchList(false);
}
},
onSearch() {
this.nextToken = null;
+6 -6
View File
@@ -1,20 +1,20 @@
/* src/main.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
body {
html, body {
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
overflow: hidden;
height: 100%;
overflow: auto; /* Allow natural scrolling */
}
#app,
.v-application {
min-height: 100vh;
background-image: url('/carbon.jpg');
background-repeat: no-repeat;
background-position: center;
position: relative;
z-index: 0;
height: 100vh;
overflow-y: auto;
background-attachment: fixed;
background-size: cover;
}