From 30ec85f9235f80d0783b4e0ce911939d39a474e1 Mon Sep 17 00:00:00 2001
From: shamoon <4887959+shamoon@users.noreply.github.com>
Date: Mon, 7 Oct 2024 14:40:10 -0700
Subject: [PATCH] Fix text, font size
---
src-ui/messages.xlf | 18 +++++++++---------
.../storage-path-edit-dialog.component.html | 4 ++--
.../storage-path-edit-dialog.component.ts | 4 ----
src-ui/src/styles.scss | 7 ++++++-
4 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf
index 34304f395..8a7d70981 100644
--- a/src-ui/messages.xlf
+++ b/src-ui/messages.xlf
@@ -4130,6 +4130,13 @@
42
+
+ See <a target='_blank' href='https://docs.paperless-ngx.com/advanced_usage/#file-name-handling'>the documentation</a>.
+
+ src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html
+ 13
+
+
Preview
@@ -4177,25 +4184,18 @@
44
-
- See <a target="_blank" href="https://docs.paperless-ngx.com/advanced_usage/#file-name-handling">the documentation</a>.
-
- src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.ts
- 63
-
-
Create new storage path
src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.ts
- 67
+ 63
Edit storage path
src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.ts
- 71
+ 67
diff --git a/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html b/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html
index 06b449990..45b2bc5e9 100644
--- a/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html
+++ b/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html
@@ -10,7 +10,7 @@
-
+
@@ -35,7 +35,7 @@
the documentation.`
- }
-
getCreateTitle() {
return $localize`Create new storage path`
}
diff --git a/src-ui/src/styles.scss b/src-ui/src/styles.scss
index ef856fbc7..aadc1d4a9 100644
--- a/src-ui/src/styles.scss
+++ b/src-ui/src/styles.scss
@@ -21,7 +21,8 @@ $form-file-button-hover-bg: var(--pngx-bg-alt);
// Paperless-ngx styles
body {
- font-size: 0.875rem;
+ --pngx-body-font-size: 0.875rem;
+ font-size: var(--pngx-body-font-size);
height: 100vh;
}
@@ -653,6 +654,10 @@ code {
filter: invert(0.5) saturate(0);
}
+.accordion-button {
+ font-size: var(--pngx-body-font-size);
+}
+
.me-1px {
margin-right: 1px !important;
}