diff --git a/src/shared/types.ts b/src/shared/types.ts index a970546..42286f7 100644 --- a/src/shared/types.ts +++ b/src/shared/types.ts @@ -69,7 +69,7 @@ export interface AppSettings { /** File-list icons: plain neutral glyphs, or per-category glyphs and colors. */ iconColors: "plain" | "multi"; speedUnit: "MBps" | "Mbps"; - /** Font size of the path bar and file list. */ + /** Size of the panel interface: file list, path bar, header controls. */ textSize: "compact" | "default" | "large"; /** Run transfer jobs one at a time, or several in parallel. */ transferMode: "single" | "multi"; diff --git a/ui/src/app/file-panel/file-panel.html b/ui/src/app/file-panel/file-panel.html index ba18ec5..61a5c2a 100644 --- a/ui/src/app/file-panel/file-panel.html +++ b/ui/src/app/file-panel/file-panel.html @@ -2,28 +2,32 @@
@if (isRemote()) { } @@ -34,55 +38,55 @@ @if (menuOpen()) { @@ -92,9 +96,9 @@ > } @@ -120,9 +124,9 @@ @for (connection of group.connections; track connection.id) { } @@ -138,9 +142,9 @@ (click)="pickSshHost(host)" [disabled]="host.unsupported" [title]="sshHostTitle(host)" - class="flex w-full items-center gap-2 py-1.5 pr-3 pl-5 text-left text-xs hover:bg-accent disabled:opacity-60 disabled:hover:bg-transparent" + class="flex w-full items-center gap-2 py-1.5 pr-3 pl-5 text-left text-(length:--path-font) hover:bg-accent disabled:opacity-60 disabled:hover:bg-transparent" > - + {{ host.name }} } @@ -149,9 +153,9 @@
diff --git a/ui/src/app/tab-bar/tab-bar.ts b/ui/src/app/tab-bar/tab-bar.ts index 386f3f1..01f6cf6 100644 --- a/ui/src/app/tab-bar/tab-bar.ts +++ b/ui/src/app/tab-bar/tab-bar.ts @@ -169,7 +169,7 @@ const CONCURRENCY_CHOICES = [2, 3, 4, 6, 8] as const;
- Text size + Interface
@for (size of textSizes; track size) {