From 818776e0854f5f723a08ab0ddaffe00f8b85a67c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 25 Jan 2021 18:21:19 -0800 Subject: html: several UI fixes and tweaks - title and highlight box misalignment - circle buttons ("action bar") alignment to left on mobile - vertical alignment of action bar and access buttons on mobile - smaller whitespace when no highlight/abstract --- fatcat_scholar/templates/search_macros.html | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'fatcat_scholar/templates/search_macros.html') diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index 0f43142..0e6b3f0 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -31,25 +31,25 @@ {# NOTE: should be able to call with paper.biblio or any paper.release[] #} {% if biblio.doi %} - doi:{{ biblio.doi }}   + doi:{{ biblio.doi }} {% endif %} {% if biblio.pmid %} - pmid:{{ biblio.pmid }}   + pmid:{{ biblio.pmid }} {% endif %} {% if biblio.pmcid %} - pmcid:{{ biblio.pmcid }}   + pmcid:{{ biblio.pmcid }} {% endif %} {% if biblio.arxiv_id %} - arXiv:{{ biblio.arxiv_id }}   + arXiv:{{ biblio.arxiv_id }} {% endif %} {% if biblio.dblp_id %} - dblp:{{ biblio.dblp_id }}   + dblp:{{ biblio.dblp_id }} {% endif %} {% if biblio.doaj_id %} - doaj:{{ biblio.doaj_id }}   + doaj:{{ biblio.doaj_id }} {% endif %} {% if biblio.release_ident or biblio.ident %} - fatcat:{{ biblio.release_ident or biblio.ident }}   + fatcat:{{ biblio.release_ident or biblio.ident }} {% endif %} {% endmacro %} @@ -173,7 +173,7 @@
-
+
{# ### TITLE ROW #}

@@ -230,7 +230,7 @@ {{ journal_row(paper.biblio, paper) }}

-