diff --git a/Cargo.lock b/Cargo.lock index 5eb9bb6..48b7d59 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -608,7 +608,7 @@ checksum = "8521a1b57e76b1ec69af7599e75e38e7b7fad6610f037db8c79b127201b5d119" [[package]] name = "libreddit" -version = "0.18.0" +version = "0.18.1" dependencies = [ "askama", "async-recursion", diff --git a/Cargo.toml b/Cargo.toml index 9ea4050..557d7ec 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.18.0" +version = "0.18.1" authors = ["spikecodes <19519553+spikecodes@users.noreply.github.com>"] edition = "2018" diff --git a/static/style.css b/static/style.css index c0801f2..bd132ad 100644 --- a/static/style.css +++ b/static/style.css @@ -845,9 +845,11 @@ a.search_subreddit:hover { /* Used only for text post preview */ .post_preview { + -webkit-mask-image: linear-gradient(180deg,#000 60%,transparent);; mask-image: linear-gradient(180deg,#000 60%,transparent); opacity: 0.8; max-height: 250px; + overflow: hidden; } .post_footer {