From dd8f58ed6545541c9af01f5f1e04ef8b1c787e23 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 17 Jul 2022 20:58:07 +0200 Subject: [PATCH] Revert "make comments more compact on mobile - will revert if ppl complain" This reverts commit 3f4d28301bef505fcb8f2a83b443adf89913779e. --- files/assets/css/main.css | 40 +++++++++++++--------------- files/templates/util/assetcache.html | 2 +- 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 5711e46c3..c5aae1732 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -4375,6 +4375,9 @@ pre .com, code .com { } .comment-section > .comment { padding-left: 12px; +} + .comment { + margin-top: 1.5rem; } .comment.collapsed .user-info { padding-top: 0.5rem; @@ -4786,8 +4789,8 @@ input[type=radio] ~ .custom-control-label::before { max-width: 90% !important } .emj, .emoji, strong a img, img[alt^=":"]:not(img[b]):not(img[alt*="#"]) { - height: 30px !important; - width: 30px !important; + height: 40px !important; + width: 40px !important; } .bigemoji, .emoji-md, img[alt^=":"]:not(img[alt*="#"]) { height: 60px; @@ -4956,6 +4959,14 @@ lite-youtube.lyt-activated > .lty-playbtn { overflow-x: auto !important; } +@media (max-width: 768px) { + .comment .comment-body .comment-text { + padding-top: 5px; + } + p { + margin-bottom: 7px; + } +} @keyframes golden { from {filter: sepia(1) saturate(2)} to {filter: sepia(1) saturate(3) drop-shadow(-1px 1px 3px gold)} @@ -6072,6 +6083,12 @@ g { opacity: 0.65; } +@media (max-width: 767.98px) { + .post-actions { + margin-top: -5px; + } +} + .ghostdiv { display: block; @@ -6132,23 +6149,4 @@ g { background-clip: text; -webkit-background-clip: text; font-weight: 700; -} - - -@media (max-width: 767.98px) { - .post-actions { - margin-top: -10px !important; - } - .comment .comment-body .user-info { - margin-bottom: 8px !important; - } - .comment .comment-body .comment-text { - padding-top: 0 !important; - } - p { - margin-bottom: 7px !important; - } - .comment { - margin-top: 16px !important; - } } \ No newline at end of file diff --git a/files/templates/util/assetcache.html b/files/templates/util/assetcache.html index 70ddf1ca1..08fb5839e 100644 --- a/files/templates/util/assetcache.html +++ b/files/templates/util/assetcache.html @@ -1,6 +1,6 @@ {%- set CACHE_VER = { - 'css/main.css': 418, + 'css/main.css': 419, 'css/catalog.css': 2, 'css/4chan.css': 61,