same fix but hopefully better

pull/1653/head
Ghighi Eftimie 4 years ago
parent c33c6bbff0
commit 6dadc6fb1e

@ -2244,22 +2244,14 @@ body.langlist > div.container-fluid > div > div.col-sm-10 > div.container:before
content: "Languages"
}
body.advsearch > div.container-fluid > div > div.col-sm-2:after {
content: "Advanced Search";
position: fixed;
display: flex;
align-items: center;
padding-left: 25px;
color: hsla(0, 0%, 100%, .7);
font-family: "Open Sans Semibold", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 15px;
line-height: 60px;
white-space: nowrap;
font-weight: 400;
body.advsearch > div.container-fluid > div > div.col-sm-10 > div.col-md-10.col-lg-6 {
padding: 15px 10px 15px 40px;
}
@media screen and (max-width: 992px) {
body.advsearch > div.container-fluid > div > div.col-sm-10 > div.col-md-10.col-lg-6 {
padding: 15px 10px 15px 40px;
padding-left: 20px;
}
}
body.me > div.container-fluid > div > div.col-sm-10 > div.discover:before {

@ -1,5 +1,6 @@
{% extends "layout.html" %}
{% block body %}
<h1 class="{{page}}">{{title}}</h1>
<div class="col-md-10 col-lg-6">
<form role="form" id="search" action="{{ url_for('web.advanced_search_form') }}" method="POST">
<div class="form-group">

@ -951,7 +951,7 @@ def render_prepare_search_form(cc):
else:
languages = None
return render_title_template('search_form.html', tags=tags, languages=languages, extensions=extensions,
series=series, title=_(u"search"), cc=cc, page="advsearch")
series=series, title=_(u"Advanced Search"), cc=cc, page="advsearch")
def render_search_results(term, offset=None, order=None, limit=None):
@ -1392,7 +1392,7 @@ def render_adv_search_results(term, offset=None, order=None, limit=None):
pagination=pagination,
entries=q[offset:limit_all],
result_count=result_count,
title=_(u"search"), page="advsearch")
title=_(u"Advanced Search"), page="advsearch")

Loading…
Cancel
Save