From ad06146784689f3ec671c57fd91160f79ff9fe8e Mon Sep 17 00:00:00 2001 From: Svilen Markov <7613769+svilenmarkov@users.noreply.github.com> Date: Thu, 2 May 2024 18:45:58 +0100 Subject: [PATCH] Add hide-on-mobile utility class --- internal/assets/static/main.css | 2 +- internal/assets/templates/forum-posts.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/assets/static/main.css b/internal/assets/static/main.css index 29ea47f..920e2a8 100644 --- a/internal/assets/static/main.css +++ b/internal/assets/static/main.css @@ -995,7 +995,7 @@ body { flex-flow: row-reverse; } - svg.forum-post-list-thumbnail { + .hide-on-mobile { display: none } } diff --git a/internal/assets/templates/forum-posts.html b/internal/assets/templates/forum-posts.html index 7c9d188..32f7076 100644 --- a/internal/assets/templates/forum-posts.html +++ b/internal/assets/templates/forum-posts.html @@ -9,11 +9,11 @@ {{ if ne $post.ThumbnailUrl "" }} {{ else if $post.HasTargetUrl }} - + {{ else }} - + {{ end }}