Wrap status message (#7325)

* Wrap status message

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Give status a max-height

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-12-28 21:54:54 +01:00 committed by GitHub
parent 13028d33c2
commit e759a85321
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions

View File

@ -204,11 +204,19 @@ limitations under the License.
} }
.mx_UserInfo_statusMessage { .mx_UserInfo_statusMessage {
$statusLineHeight: 16px;
$statusNumberOfLines: 3;
font-size: $font-11px; font-size: $font-11px;
line-height: $statusLineHeight;
opacity: 0.5; opacity: 0.5;
overflow: hidden; overflow: hidden;
white-space: nowrap; word-break: break-word;
text-overflow: clip; text-overflow: ellipsis;
display: -webkit-box;
max-height: calc($statusLineHeight * $statusNumberOfLines);
-webkit-line-clamp: $statusNumberOfLines;
-webkit-box-orient: vertical;
} }
.mx_AutoHideScrollbar { .mx_AutoHideScrollbar {