From ec5fe67f080fb2550058776ee7329cf7d456d0c7 Mon Sep 17 00:00:00 2001 From: SneedBot Date: Wed, 22 Feb 2023 04:00:09 +0000 Subject: [PATCH 1/2] sneed --- schema.sql | 2 +- seed-db.sql | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/schema.sql b/schema.sql index 981410e9f..1f46eac84 100644 --- a/schema.sql +++ b/schema.sql @@ -3,7 +3,7 @@ -- -- Dumped from database version 14.6 --- Dumped by pg_dump version 14.7 (Ubuntu 14.7-1.pgdg22.04+1) +-- Dumped by pg_dump version 14.6 (Ubuntu 14.6-1.pgdg20.04+1) SET statement_timeout = 0; SET lock_timeout = 0; diff --git a/seed-db.sql b/seed-db.sql index 9b8075119..13468c61f 100644 --- a/seed-db.sql +++ b/seed-db.sql @@ -26,7 +26,7 @@ INSERT INTO public.users ( -- -- Dumped from database version 14.6 --- Dumped by pg_dump version 14.7 (Ubuntu 14.7-1.pgdg22.04+1) +-- Dumped by pg_dump version 14.6 (Ubuntu 14.6-1.pgdg20.04+1) SET statement_timeout = 0; SET lock_timeout = 0; @@ -232,7 +232,7 @@ SELECT pg_catalog.setval('public.badge_defs_id_seq', 230, true); -- -- Dumped from database version 14.6 --- Dumped by pg_dump version 14.7 (Ubuntu 14.7-1.pgdg22.04+1) +-- Dumped by pg_dump version 14.6 (Ubuntu 14.6-1.pgdg20.04+1) SET statement_timeout = 0; SET lock_timeout = 0; From 3b261a76badfb79f6e8fc59cf97dc4c92294c0f6 Mon Sep 17 00:00:00 2001 From: mummified-corroding-granny Date: Wed, 22 Feb 2023 06:27:11 +0000 Subject: [PATCH 2/2] post: fix post vote horizontal content reflow (#131) Kindly, Currently, the vote count at the top left of any post reserves too little space leading to many reflow situations when we vote on it: * only happens on desktop version, considering the mobile website uses different layout/code * happens whenever our vote changes the count between 9 to 10 (?), 99 to 100, 999 to 1000. Also happens in more common situations like 81 to 82 and :marseymanysuchcases: I did a minimalist approach by removing the margin, reserving just enough width (values between -XXX and XXXX) and lowering the vote buttons to minimize hat collision. Arguably, the vote buttons look better with the PR, because they are centered with flairs (WPD) and less off-center on rdrama with post rewards, pfp, ... Net excess of ~10px, which I feel is borderline too much Thanks, granny Reviewed-on: https://fsdfsd.net/rDrama/rDrama/pulls/131 Co-authored-by: mummified-corroding-granny Co-committed-by: mummified-corroding-granny --- files/assets/css/main.css | 5 ++--- files/templates/submission.html | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 2cf1ac47b..d189e3ce1 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -3946,9 +3946,8 @@ small, .small { justify-content: center; } #thread .voting { - min-width: 10px; - margin-right: 10px; - overflow-wrap: normal; + min-width: 32px; + margin-right: 1px; } #frontpage .voting, #search .voting, #userpage .voting { margin: auto 0; diff --git a/files/templates/submission.html b/files/templates/submission.html index 16341eeb2..5d5228165 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -224,7 +224,7 @@ {% if v %} -
+
{{score}} @@ -233,7 +233,7 @@ {% else %} -
+
{{score}}