From 0ef33d2acba50a65810b84c2f658dffeb83788a4 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sat, 27 Mar 2021 07:36:14 -0700 Subject: [PATCH] Adds shared books as a metric for recommending follows --- bookwyrm/static/css/format.css | 10 +++++++-- bookwyrm/templates/directory.html | 11 ++++++++- bookwyrm/templates/feed/feed.html | 37 +++++++++++++++++-------------- bookwyrm/views/directory.py | 16 +++---------- bookwyrm/views/feed.py | 22 ++++-------------- bookwyrm/views/helpers.py | 28 ++++++++++++++++++++++- 6 files changed, 72 insertions(+), 52 deletions(-) diff --git a/bookwyrm/static/css/format.css b/bookwyrm/static/css/format.css index c640cd27..0956517d 100644 --- a/bookwyrm/static/css/format.css +++ b/bookwyrm/static/css/format.css @@ -163,9 +163,15 @@ html { vertical-align: middle; display: inline; } -.navbar .avatar { - max-height: none; +.is-32x32 { + min-width: 32px; + min-height: 32px; } +.is-96x96 { + min-width: 96px; + min-height: 96px; +} + /* --- QUOTES --- */ diff --git a/bookwyrm/templates/directory.html b/bookwyrm/templates/directory.html index 6f8bc3e4..3d47e26b 100644 --- a/bookwyrm/templates/directory.html +++ b/bookwyrm/templates/directory.html @@ -121,12 +121,21 @@