From 45d38d122645164cc384d379c170e0fdec447f77 Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Tue, 28 Apr 2020 21:48:30 -0700 Subject: Fixed text-overflow --- app.css | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'app.css') diff --git a/app.css b/app.css index 0b3ea23..628b0ce 100644 --- a/app.css +++ b/app.css @@ -187,9 +187,15 @@ body { padding: 0; } body #main-section h2 { border-bottom: 1px dashed #ccc; - padding-bottom: 10px; } + padding-bottom: 10px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } body #main-section .title { - font-size: 1.1em; } + font-size: 1.1em; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } body #main-section .subtitle { font-size: .9em; white-space: nowrap; @@ -205,7 +211,8 @@ body { body #main-section .message .message-body { border: none; } body .media-content { - overflow: inherit; } + overflow: hidden; + text-overflow: inherit; } body .tag { color: #4285f4; background-color: #4285f4; -- cgit v1.2.3