diff --git a/apps/browser/src/popup/components/cipher-row.component.html b/apps/browser/src/popup/components/cipher-row.component.html index fce966adb4db..ebb18bebe83e 100644 --- a/apps/browser/src/popup/components/cipher-row.component.html +++ b/apps/browser/src/popup/components/cipher-row.component.html @@ -15,23 +15,25 @@
- {{ cipher.name | ellipsis: 20 }} - - - {{ "shared" | i18n }} - - - - {{ "attachments" | i18n }} - + + {{ cipher.name }} + + + {{ "shared" | i18n }} + + + + {{ "attachments" | i18n }} + + {{ cipher.subTitle }}
diff --git a/apps/browser/src/popup/scss/box.scss b/apps/browser/src/popup/scss/box.scss index 6e0b6f9356a2..7be206cbf3a4 100644 --- a/apps/browser/src/popup/scss/box.scss +++ b/apps/browser/src/popup/scss/box.scss @@ -692,3 +692,16 @@ } } } + +.truncate-box { + display: flex; + align-items: center; + gap: 5px; +} + +.truncate { + display: inline-block; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} diff --git a/apps/desktop/src/app/vault/ciphers.component.html b/apps/desktop/src/app/vault/ciphers.component.html index 0b324cf0edb4..478b46b92736 100644 --- a/apps/desktop/src/app/vault/ciphers.component.html +++ b/apps/desktop/src/app/vault/ciphers.component.html @@ -24,23 +24,25 @@
- {{ c.name | ellipsis }} - - - {{ "shared" | i18n }} - - - - {{ "attachments" | i18n }} - + + {{ c.name }} + + + {{ "shared" | i18n }} + + + + {{ "attachments" | i18n }} + + {{ c.subTitle }}
diff --git a/apps/desktop/src/scss/list.scss b/apps/desktop/src/scss/list.scss index 343dd550f0c0..ec56eaa6c884 100644 --- a/apps/desktop/src/scss/list.scss +++ b/apps/desktop/src/scss/list.scss @@ -152,3 +152,16 @@ height: 100%; overflow-y: auto; } + +.truncate-box { + display: flex; + align-items: center; + gap: 5px; +} + +.truncate { + display: inline-block; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +}