aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-06 19:00:40 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-06 19:01:12 -0700
commit65b96de965cf3633a216d6740791376d00a11564 (patch)
treedd00d0c7b4fdd8c8a881f501ade46ade0a1f8271
parent1b2890b33606de0bb986a92373b1e50d1ef58230 (diff)
downloadfatcat-scholar-65b96de965cf3633a216d6740791376d00a11564.tar.gz
fatcat-scholar-65b96de965cf3633a216d6740791376d00a11564.zip
slightly more padding in SERP box at max screen size
-rw-r--r--fatcat_scholar/templates/base.html3
-rw-r--r--fatcat_scholar/templates/search_macros.html2
2 files changed, 4 insertions, 1 deletions
diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html
index 3b9d12c..26ac246 100644
--- a/fatcat_scholar/templates/base.html
+++ b/fatcat_scholar/templates/base.html
@@ -60,6 +60,9 @@
div.fulltext-link {
width: 180px !important;
}
+ div.serp-hit-box {
+ padding-left: 1.1em !important;
+ }
}
{# for fulltext search result highlighting #}
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html
index a0352a0..1f5f8f3 100644
--- a/fatcat_scholar/templates/search_macros.html
+++ b/fatcat_scholar/templates/search_macros.html
@@ -26,7 +26,7 @@
{% macro fulltext_search_result_row(paper, locale=None) -%}
<div class="ui grid">
-<div class="thirteen wide column">
+<div class="thirteen wide column serp-hit-box">
{# ### TITLE ROW #}
<div style="margin-bottom: 0.1em; font-size: 1.2em; font-weight: bold;">