From 3bbe65974da64a9eaf0329a6e08d01a9bbc0de8f Mon Sep 17 00:00:00 2001 From: "Michael E. Karpeles (Mek)" Date: Tue, 8 Mar 2022 22:06:51 +0000 Subject: [PATCH 1/3] Moving subjects up, show more, nojs - show + to denote expandable sections - visual accents on omnibar - adjust editions table padding - move some options below table (better packing) --- openlibrary/macros/SubjectTags.html | 23 +++++++--------- .../plugins/openlibrary/js/readmore.js | 10 +++++++ openlibrary/templates/site/head.html | 5 +++- openlibrary/templates/type/edition/view.html | 26 +++++++------------ .../type/work/editions_datatable.html | 5 +++- static/css/components/work.less | 15 +++++++++-- 6 files changed, 50 insertions(+), 34 deletions(-) diff --git a/openlibrary/macros/SubjectTags.html b/openlibrary/macros/SubjectTags.html index 371a4a947cd..0868a3fbd65 100644 --- a/openlibrary/macros/SubjectTags.html +++ b/openlibrary/macros/SubjectTags.html @@ -1,10 +1,10 @@ -$def with(work,location,tags=[]) +$def with(work, tags=[]) $def render_subjects(label, subjects, track_value, prefix=""): $if subjects: