Fix text, font size

This commit is contained in:
shamoon
2024-10-07 14:40:10 -07:00
parent c7d40dcb03
commit 30ec85f923
4 changed files with 17 additions and 16 deletions

View File

@@ -10,7 +10,7 @@
<div class="modal-body">
<pngx-input-text i18n-title title="Name" formControlName="name" [error]="error?.name" autocomplete="off"></pngx-input-text>
<pngx-input-textarea i18n-title title="Path" formControlName="path" [error]="error?.path" [hint]="pathHint" [monospace]="true"></pngx-input-textarea>
<pngx-input-textarea i18n-title title="Path" formControlName="path" [error]="error?.path" hint="See <a target='_blank' href='https://docs.paperless-ngx.com/advanced_usage/#file-name-handling'>the documentation</a>." i18n-hint [monospace]="true"></pngx-input-textarea>
<div ngbAccordion>
<div ngbAccordionItem>
@@ -35,7 +35,7 @@
</div>
<ng-select name="testDocument"
[items]="foundDocuments$ | async"
placeholder="Search for documents" i18n-placeholder
placeholder="Search for a document" i18n-placeholder
notFoundText="No documents found" i18n-notFoundText
bindValue="id"
bindLabel="title"

View File

@@ -59,10 +59,6 @@ export class StoragePathEditDialogComponent
this.unsubscribeNotifier.complete()
}
get pathHint() {
return $localize`See <a target="_blank" href="https://docs.paperless-ngx.com/advanced_usage/#file-name-handling">the documentation</a>.`
}
getCreateTitle() {
return $localize`Create new storage path`
}

View File

@@ -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;
}