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

@ -4130,6 +4130,13 @@
<context context-type="linenumber">42</context>
</context-group>
</trans-unit>
<trans-unit id="2816147949408898105" datatype="html">
<source>See &lt;a target=&apos;_blank&apos; href=&apos;https://docs.paperless-ngx.com/advanced_usage/#file-name-handling&apos;&gt;the documentation&lt;/a&gt;.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html</context>
<context context-type="linenumber">13</context>
</context-group>
</trans-unit>
<trans-unit id="1295614462098694869" datatype="html">
<source>Preview</source>
<context-group purpose="location">
@ -4177,25 +4184,18 @@
<context context-type="linenumber">44</context>
</context-group>
</trans-unit>
<trans-unit id="7820308784516170917" datatype="html">
<source>See &lt;a target=&quot;_blank&quot; href=&quot;https://docs.paperless-ngx.com/advanced_usage/#file-name-handling&quot;&gt;the documentation&lt;/a&gt;.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.ts</context>
<context context-type="linenumber">63</context>
</context-group>
</trans-unit>
<trans-unit id="6898961890896270754" datatype="html">
<source>Create new storage path</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.ts</context>
<context context-type="linenumber">67</context>
<context context-type="linenumber">63</context>
</context-group>
</trans-unit>
<trans-unit id="3754859110054016570" datatype="html">
<source>Edit storage path</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.ts</context>
<context context-type="linenumber">71</context>
<context context-type="linenumber">67</context>
</context-group>
</trans-unit>
<trans-unit id="9011959596901584887" datatype="html">

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