From 65befde0fa68cabc6770e64fdd455f785d2dd85e Mon Sep 17 00:00:00 2001 From: Ken Powers Date: Thu, 9 Jan 2020 14:30:32 -0500 Subject: [PATCH] Handle text overflow in sticker preview modal --- stylesheets/_modules.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/stylesheets/_modules.scss b/stylesheets/_modules.scss index 8dbbaa482..b459f9a0d 100644 --- a/stylesheets/_modules.scss +++ b/stylesheets/_modules.scss @@ -5642,13 +5642,15 @@ button.module-image__border-overlay:focus { } &__info { - flex-grow: 1; + width: 317px; display: flex; flex-direction: column; justify-content: center; &__title { margin: 0; + overflow: hidden; + text-overflow: ellipsis; @include font-body-1-bold; @@ -5663,7 +5665,9 @@ button.module-image__border-overlay:focus { &__author { margin: 0; - height: 18px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; @include light-theme { color: $color-gray-45;