mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Merge pull request #744 from shamoon/fix/miscellaneous-css-fixes
Fixes for mobile logger cut off & dark mode hidden "logged in as"
This commit is contained in:
commit
e0e0ee4a77
@ -31,7 +31,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<div ngbDropdownMenu class="dropdown-menu-right shadow mr-2" aria-labelledby="userDropdown">
|
<div ngbDropdownMenu class="dropdown-menu-right shadow mr-2" aria-labelledby="userDropdown">
|
||||||
<div *ngIf="displayName" class="d-sm-none">
|
<div *ngIf="displayName" class="d-sm-none">
|
||||||
<p class="small mb-0 px-3" i18n>Logged in as {{displayName}}</p>
|
<p class="small mb-0 px-3 text-muted" i18n>Logged in as {{displayName}}</p>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
</div>
|
</div>
|
||||||
<a ngbDropdownItem class="nav-link" routerLink="settings" (click)="closeMenu()">
|
<a ngbDropdownItem class="nav-link" routerLink="settings" (click)="closeMenu()">
|
||||||
|
@ -14,5 +14,5 @@
|
|||||||
<div class="bg-dark p-3 mb-3 text-light text-monospace log-container">
|
<div class="bg-dark p-3 mb-3 text-light text-monospace log-container">
|
||||||
<p
|
<p
|
||||||
class="m-0 p-0 log-entry-{{getLogLevel(log)}}"
|
class="m-0 p-0 log-entry-{{getLogLevel(log)}}"
|
||||||
*ngFor="let log of logs" style="white-space: pre;">{{log}}</p>
|
*ngFor="let log of logs">{{log}}</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -16,9 +16,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.log-container {
|
.log-container {
|
||||||
|
overflow-y: scroll;
|
||||||
overflow: scroll;
|
|
||||||
|
|
||||||
height: calc(100vh - 190px);
|
height: calc(100vh - 190px);
|
||||||
top: 70px;
|
top: 70px;
|
||||||
}
|
|
||||||
|
p {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user