1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01:00

fix navbar text breaks

This commit is contained in:
Kyle Spearrin 2018-07-30 22:53:08 -04:00
parent 8b8bd88adf
commit bfc462cbec
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@
<div class="dropdown-item-text d-flex align-items-center" *ngIf="name" appStopProp> <div class="dropdown-item-text d-flex align-items-center" *ngIf="name" appStopProp>
<app-avatar [data]="name" width="25" height="25" fontSize="14" [circle]="true"></app-avatar> <app-avatar [data]="name" width="25" height="25" fontSize="14" [circle]="true"></app-avatar>
<div class="ml-2 overflow-hidden"> <div class="ml-2 overflow-hidden">
{{'loggedInAs' | i18n}} <span>{{'loggedInAs' | i18n}}</span>
<small class="text-muted">{{name}}</small> <small class="text-muted">{{name}}</small>
</div> </div>
</div> </div>

View File

@ -120,12 +120,12 @@ input, select, textarea {
.dropdown-menu { .dropdown-menu {
min-width: 200px; min-width: 200px;
max-width: 250px; max-width: 300px;
.dropdown-item-text { .dropdown-item-text {
line-height: 1.3; line-height: 1.3;
small { span, small {
display: block; display: block;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;