From 9e73da0e40f7cf38de0ae3413fdf0d202493525d Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 25 Jan 2021 22:43:55 -0800 Subject: html/css: yet more RTL tweaks --- fatcat_scholar/static/scholar.css | 3 +++ fatcat_scholar/templates/base.html | 6 ++++++ fatcat_scholar/templates/search.html | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) 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 %}
- {{ _("Filters") }} + {{ _("Filters") }}
{{ search_macros.query_option(query.time_options, query.filter_time) }} {{ search_macros.query_option(query.type_options, query.filter_type) }} -- cgit v1.2.3