diff --git a/src/routes/_api/settings/about.scss b/src/routes/_api/settings/about.scss index 4337040..221962c 100644 --- a/src/routes/_api/settings/about.scss +++ b/src/routes/_api/settings/about.scss @@ -6,9 +6,19 @@ justify-content: flex-start; width: 100%; } + &-header { + display: flex; + flex-direction: column; + align-items: center; + gap: 0.35em; + } &-logo{ - width: 60%; - object-fit: cover; + width: min(300px, 60%); + height: auto; + object-fit: contain; + } + &-version { + opacity: 0.75; } &-table{ display: flex; @@ -39,4 +49,8 @@ max-width: 60%; margin-top: 2em; } +} + +body.has-player-bar .settings-about-container .MuiFab-root { + bottom: calc(2em + 104px); } \ No newline at end of file diff --git a/src/routes/_api/settings/about.tsx b/src/routes/_api/settings/about.tsx index c698a9e..9579058 100644 --- a/src/routes/_api/settings/about.tsx +++ b/src/routes/_api/settings/about.tsx @@ -27,11 +27,12 @@ function RouteComponent() { return (
- {/* About */} - Blink - - v{version} - +
+ Blink + + v{version} + +
Server Name @@ -44,7 +45,7 @@ function RouteComponent() { {systemInfo.data.Version}
- Update Available + Update {updateInfo.data ? `v${updateInfo.data.version}` diff --git a/tsconfig.json b/tsconfig.json index 4234b80..e795fab 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -25,7 +25,7 @@ "noEmit": true, // Do not emit output (meaning do not compile code, only perform type checking) "jsx": "react", // Support JSX in .tsx files "sourceMap": true, // Generate corrresponding .map file - "declaration": true, // Generate corresponding .d.ts file + "declaration": false, // App build; Vite does not emit declarations "noUnusedLocals": true, // Report errors on unused locals "noUnusedParameters": true, // Report errors on unused parameters "incremental": true, // Enable incremental compilation by reading/writing information from prior compilations to a file on disk