mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Fix: top nav layout with custom title on very narrow screens
This commit is contained in:
		| @@ -15,7 +15,7 @@ | |||||||
|     </svg> |     </svg> | ||||||
|     <div class="ms-2 ms-md-3 d-inline-block" [class.d-md-none]="slimSidebarEnabled"> |     <div class="ms-2 ms-md-3 d-inline-block" [class.d-md-none]="slimSidebarEnabled"> | ||||||
|       @if (customAppTitle?.length) { |       @if (customAppTitle?.length) { | ||||||
|         <div class="d-flex flex-column align-items-start"> |         <div class="d-flex flex-column align-items-start custom-title"> | ||||||
|           <span class="title">{{customAppTitle}}</span> |           <span class="title">{{customAppTitle}}</span> | ||||||
|           <span class="byline text-uppercase font-monospace" i18n>by Paperless-ngx</span> |           <span class="byline text-uppercase font-monospace" i18n>by Paperless-ngx</span> | ||||||
|         </div> |         </div> | ||||||
|   | |||||||
| @@ -244,7 +244,7 @@ main { | |||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
| @media screen and (max-width: 768px) { | @media screen and (min-width: 366px) and (max-width: 768px) { | ||||||
|   .navbar-toggler { |   .navbar-toggler { | ||||||
|     // compensate for 2 buttons on the right |     // compensate for 2 buttons on the right | ||||||
|     margin-right: 45px; |     margin-right: 45px; | ||||||
| @@ -257,6 +257,13 @@ main { | |||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @media screen and (max-width: 345px) { | ||||||
|  |   .custom-title { | ||||||
|  |     max-width: 102px; | ||||||
|  |     overflow: hidden; | ||||||
|  |   } | ||||||
|  | } | ||||||
|  |  | ||||||
| :host ::ng-deep .dropdown.show .dropdown-toggle, | :host ::ng-deep .dropdown.show .dropdown-toggle, | ||||||
| :host ::ng-deep .dropdown-toggle:hover { | :host ::ng-deep .dropdown-toggle:hover { | ||||||
|   opacity: 0.7; |   opacity: 0.7; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon