From 59043456ba507658f24e387fe4cb6fa75c5a99e4 Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Sun, 13 Mar 2022 12:59:15 -0700 Subject: [PATCH] Wrap long post titles (fixes #435) --- Cargo.lock | 2 +- Cargo.toml | 2 +- static/style.css | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cbaa7f4..a0b9bdc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -540,7 +540,7 @@ checksum = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4" [[package]] name = "libreddit" -version = "0.22.0" +version = "0.22.1" dependencies = [ "askama", "async-recursion", diff --git a/Cargo.toml b/Cargo.toml index 8a775eb..e7f1901 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.22.0" +version = "0.22.1" authors = ["spikecodes <19519553+spikecodes@users.noreply.github.com>"] edition = "2021" diff --git a/static/style.css b/static/style.css index b522bcf..9a9797b 100644 --- a/static/style.css +++ b/static/style.css @@ -754,6 +754,7 @@ a.search_subreddit:hover { font-size: 16px; font-weight: 500; line-height: 1.5; + overflow-wrap: anywhere; margin: 5px 15px 5px 12px; grid-area: post_title; }