diff --git a/src/app/vault/ciphers.component.html b/src/app/vault/ciphers.component.html index 9c441dab49..28e7ed4bfd 100644 --- a/src/app/vault/ciphers.component.html +++ b/src/app/vault/ciphers.component.html @@ -12,20 +12,22 @@ (scrolled)="loadMore()"> + [ngClass]="{'active': c.id === activeCipherId}" class="flex-list-item"> - - {{c.name}} - - - {{'shared' | i18n}} - - - - {{'attachments' | i18n}} - - - {{c.subTitle}} +
+ + {{c.name}} + + + {{'shared' | i18n}} + + + + {{'attachments' | i18n}} + + + {{c.subTitle}} +
diff --git a/src/scss/list.scss b/src/scss/list.scss index 5a50dd7ad5..2757750f92 100644 --- a/src/scss/list.scss +++ b/src/scss/list.scss @@ -130,4 +130,14 @@ } } } + + .flex-cipher-list-item { + flex-direction: column; + flex-wrap: nowrap; + justify-content: center; + align-items: flex-start; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } }