diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-25 22:43:55 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-25 22:43:55 -0800 |
commit | 9e73da0e40f7cf38de0ae3413fdf0d202493525d (patch) | |
tree | aa71e00fb375a496b0f755896a6d67fc88bf685b /fatcat_scholar | |
parent | 43f2174009cda964752131ba4ae9c9469bd4d58f (diff) | |
download | fatcat-scholar-9e73da0e40f7cf38de0ae3413fdf0d202493525d.tar.gz fatcat-scholar-9e73da0e40f7cf38de0ae3413fdf0d202493525d.zip |
html/css: yet more RTL tweaks
Diffstat (limited to 'fatcat_scholar')
-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) }} |