From 1d2cb877e491eaf2139cb17366f09d5d12f72ec5 Mon Sep 17 00:00:00 2001 From: Alvaro <110414366+alvaro-signal@users.noreply.github.com> Date: Tue, 27 Sep 2022 14:09:16 -0600 Subject: [PATCH] Better handling of long about messages in story viewer selector --- stylesheets/_modules.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/stylesheets/_modules.scss b/stylesheets/_modules.scss index 29ed838ad..217e591f5 100644 --- a/stylesheets/_modules.scss +++ b/stylesheets/_modules.scss @@ -4710,6 +4710,14 @@ button.module-image__border-overlay:focus { justify-content: flex-start; } + &__text { + .module-conversation-list__item--contact-or-conversation--is-checkbox + & { + /* restrict the growth so it doesn't encroach on the checkbox */ + -webkit-line-clamp: 1; + } + } + &__text { flex-grow: 1; flex-shrink: 1; @@ -4925,6 +4933,12 @@ button.module-image__border-overlay:focus { } } } + + &--container { + margin-left: 8px; + /* prevent sibling content from pushing this smaller (min-width: the "!important" of width) */ + min-width: 20px; + } } &__spinner__container {