From 49e4e652fdaf069154bcb482b92db5cf8a9d604f Mon Sep 17 00:00:00 2001 From: gooseman <16601315+geese-suck@users.noreply.github.com> Date: Wed, 9 Nov 2022 21:56:50 -0800 Subject: [PATCH] improve submission listing spacing --- files/assets/css/main.css | 18 +++++++++++- files/templates/submission_listing.html | 37 +++++++++++++------------ 2 files changed, 37 insertions(+), 18 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index b8ee046ca4..a9a028e0fc 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -3519,7 +3519,13 @@ small, .small { z-index: 2; color: var(--muted); font-size: 12px; - width: fit-content; + width: 100%; + overflow-x: scroll; + -ms-overflow-style: none; + scrollbar-width: none; +} +.post-meta::-webkit-scrollbar { + display: none; } .sub-flair { padding: 3px 5px 2px 5px; @@ -3711,7 +3717,17 @@ small, .small { } .post-actions { position: relative; + display: flex; } +.post-actions .list-inline { + flex: none; +} +@media (max-width: 767.98px) { +.post-actions .list-inline { + flex: auto; +} +} + .post-actions a, .post-actions button { color: var(--gray-100); font-weight: 600; diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 110a768eee..ca800dbc0c 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -47,7 +47,7 @@
-
+
{% if v and request.path.startswith('/@') and v.admin_level < PERMS['VIEW_VOTE_BUTTONS_ON_USER_PAGE'] %}
@@ -78,7 +78,7 @@
{% if not v_forbid_deleted %} -
+
{% if p.club and not (v and (v.paid_dues or v.id == p.author_id)) %} post thumnail {% elif not p.url %} @@ -110,9 +110,10 @@
-
+
-
+
{% if p.club %}{{CC}}{% endif %} {% if p.flair %}{{p.flair | safe}}{% endif %} {{p.realtitle(v) | safe}}
- -
- -
+
+
+ +
+