From 7a0d448a26bff1485347e09f19ae02d26a54f45e Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Fri, 27 Jan 2023 14:37:10 -0800 Subject: [PATCH] Add some follower text line break --- .../followers/SingleFollower/SingleFollower.module.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/web/components/ui/followers/SingleFollower/SingleFollower.module.scss b/web/components/ui/followers/SingleFollower/SingleFollower.module.scss index a2acd2452..9af7a89e7 100644 --- a/web/components/ui/followers/SingleFollower/SingleFollower.module.scss +++ b/web/components/ui/followers/SingleFollower/SingleFollower.module.scss @@ -16,11 +16,18 @@ font-weight: 600; font-size: 1rem; color: var(--theme-color-components-text-on-light); + display: inline-block; + + text-overflow: ellipsis; + overflow: hidden; + width: calc(85%); + white-space: nowrap; } .account { color: var(--theme-color-components-text-on-light); - overflow: hidden; + word-break: break-all; + line-height: 0.9rem; } @include screen(mobile) {