From b389723bf56ad1579ef20de95f4015970726686d Mon Sep 17 00:00:00 2001 From: Zed Date: Sun, 8 Nov 2020 02:50:03 +0100 Subject: [PATCH] Reduce main tweet font size on mobile --- src/sass/tweet/_base.scss | 2 +- src/sass/tweet/thread.scss | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/sass/tweet/_base.scss b/src/sass/tweet/_base.scss index 8841657..9ac86e9 100644 --- a/src/sass/tweet/_base.scss +++ b/src/sass/tweet/_base.scss @@ -18,7 +18,7 @@ .tweet-content { font-family: $font_3; - line-height: 1.4em; + line-height: 1.3em; pointer-events: all; display: inline; } diff --git a/src/sass/tweet/thread.scss b/src/sass/tweet/thread.scss index f854eda..0ea88bd 100644 --- a/src/sass/tweet/thread.scss +++ b/src/sass/tweet/thread.scss @@ -23,6 +23,13 @@ font-size: 20px; } + +@media(max-width: 600px) { + .main-tweet .tweet-content { + font-size: 16px; + } +} + .reply { background-color: var(--bg_panel); margin-bottom: 10px;