From 35504eda140ac01c9cac3800fb4df27e78b354d9 Mon Sep 17 00:00:00 2001 From: Daniel Valentine Date: Tue, 14 Feb 2023 20:07:51 -0700 Subject: [PATCH] v0.29.3 -- fix layout bugs on mobile Addresses the following layout bugs in mobile view: * improper rendering of award images on posts * upvote ratio no longer appearing on bottom-right corner of post as before * Reddit warning pop-up background cut off at bottom of page Fixes #713. --- Cargo.lock | 2 +- Cargo.toml | 2 +- static/style.css | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8675964..7b78f81 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -673,7 +673,7 @@ dependencies = [ [[package]] name = "libreddit" -version = "0.29.2" +version = "0.29.3" dependencies = [ "askama", "brotli", diff --git a/Cargo.toml b/Cargo.toml index 74988a5..8c598cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "libreddit" description = " Alternative private front-end to Reddit" license = "AGPL-3.0" repository = "https://github.com/spikecodes/libreddit" -version = "0.29.2" +version = "0.29.3" authors = ["spikecodes <19519553+spikecodes@users.noreply.github.com>"] edition = "2021" diff --git a/static/style.css b/static/style.css index 7795882..52a5b4d 100644 --- a/static/style.css +++ b/static/style.css @@ -1613,10 +1613,9 @@ td, th { .popup { width: auto; - bottom: 10vh; } - .popup-inner > a, h1, p, img { - width: 100%; + .popup-inner { + max-width: 80%; } }