diff options
-rw-r--r-- | fatcat_scholar/static/scholar.css | 3 | ||||
-rw-r--r-- | fatcat_scholar/templates/base.html | 6 | ||||
-rw-r--r-- | fatcat_scholar/templates/search.html | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/fatcat_scholar/static/scholar.css b/fatcat_scholar/static/scholar.css index 6d116b7..da197e5 100644 --- a/fatcat_scholar/static/scholar.css +++ b/fatcat_scholar/static/scholar.css @@ -184,6 +184,9 @@ nav.ui.menu { margin-top: 0.2em; } +.tablet-only .search-filters summary { + float: right; +} .search-filters summary::marker { display: none; } diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html index 2dd2643..174dfcf 100644 --- a/fatcat_scholar/templates/base.html +++ b/fatcat_scholar/templates/base.html @@ -46,6 +46,12 @@ left: auto; right: calc(-100% - 1em); } + .tablet-only .search-filters summary { + float: left; + } + .serp-right-col { + text-align: right!important; + } {% endif %} </style> <link rel="icon" diff --git a/fatcat_scholar/templates/search.html b/fatcat_scholar/templates/search.html index 0d9fab6..2010f0e 100644 --- a/fatcat_scholar/templates/search.html +++ b/fatcat_scholar/templates/search.html @@ -32,7 +32,7 @@ <div class="tablet-only" style="margin-top: 1.0em;"> <details class="search-filters"> - <summary style="float: right;"><i class="filter icon"></i>{{ _("Filters") }}</summary> + <summary><i class="filter icon"></i>{{ _("Filters") }}</summary> <div class="tablet-filter-bar"> {{ search_macros.query_option(query.time_options, query.filter_time) }} {{ search_macros.query_option(query.type_options, query.filter_type) }} |