fix searchbar alignment
parent
b2a24d113d
commit
6ed5a03a66
|
@ -75,7 +75,7 @@
|
|||
</div>
|
||||
|
||||
<div class="flex-grow-1 d-fl d-mob-none py-2">
|
||||
<form class="form-inline search flex-nowrap mx-0 mx-lg-auto" action="/search/posts/" method="get">
|
||||
<form class="form-inline search flex-nowrap mx-0 mx-lg-auto mb-0" action="/search/posts/" method="get">
|
||||
<input autocomplete="off" class="form-control w-100" type="search" placeholder="Search" name="q" value="">
|
||||
<span class="input-group-append">
|
||||
<span class="input-group-text border-0 bg-transparent">
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
</div>
|
||||
|
||||
<div class="flex-grow-1 d-fl d-mob-none py-2">
|
||||
<form class="form-inline search flex-nowrap mx-0 mx-lg-auto" action="/search/posts/" method="get">
|
||||
<form class="form-inline search flex-nowrap mx-0 mx-lg-auto mb-0" action="/search/posts/" method="get">
|
||||
<input autocomplete="off" class="form-control w-100" type="search" placeholder="Search" name="q" value="">
|
||||
<span class="input-group-append">
|
||||
<span class="input-group-text border-0 bg-transparent">
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
{% if not request.path.startswith('/search/') %}
|
||||
<div class="flex-grow-1 d-fl d-mob-none {% if not v %}pad{% endif %}">
|
||||
<form class="form-inline search flex-nowrap mx-0 mx-lg-auto" {% if err %}style="margin-right:40rem!important"{% endif %} action="{% if request.path.startswith('/search') %}{{request.path}}{% else %}/search/posts/{% endif %}" method="get">
|
||||
<form class="form-inline search flex-nowrap mx-0 mx-lg-auto mb-0" {% if err %}style="margin-right:40rem!important"{% endif %} action="{% if request.path.startswith('/search') %}{{request.path}}{% else %}/search/posts/{% endif %}" method="get">
|
||||
<input autocomplete="off" class="form-control w-100" type="search" placeholder="{{search_placeholder}}" name="q" value="{{request.values.get('q', '')}}">
|
||||
<span class="input-group-append">
|
||||
<span class="input-group-text border-0 bg-transparent" style="margin-left: -2.5rem;">
|
||||
|
@ -261,7 +261,7 @@
|
|||
|
||||
<ul style="overflow:auto" class="navbar-nav ml-auto d-flex d-md-none mt-3">
|
||||
<li class="nav-item pb-3">
|
||||
<form id="searchform" class="form-inline search flex-nowrap mx-0 mx-lg-auto" action="/search/posts" method="get">
|
||||
<form id="searchform" class="form-inline search flex-nowrap mx-0 mx-lg-auto mb-0" action="/search/posts" method="get">
|
||||
<input autocomplete="off" class="form-control form-control-sm w-100" type="search" placeholder="{{search_placeholder}}" name="q">
|
||||
<span class="input-group-append">
|
||||
<span class="input-group-text border-0 bg-transparent" style="margin-left: -2.5rem" data-nonce="{{g.nonce}}" onclick_submit>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block PseudoSubmitForm %}
|
||||
<form id="large_searchbar" class="form-inline search flex-nowrap mx-0 mx-lg-auto mt-3" action="/search/{% if '/posts' in request.path %}posts{% elif '/comments' in request.path %}comments{% else %}users{% endif %}" method="get">
|
||||
<form id="large_searchbar" class="form-inline search flex-nowrap mx-0 mx-lg-auto mb-0 mt-3" action="/search/{% if '/posts' in request.path %}posts{% elif '/comments' in request.path %}comments{% else %}users{% endif %}" method="get">
|
||||
<input autocomplete="off" class="form-control w-100" type="search" placeholder="Search" name="q" value="{{query}}">
|
||||
<span class="input-group-append">
|
||||
<span class="input-group-text border-0 bg-transparent" style="margin-left: -2.5rem;">
|
||||
|
|
Loading…
Reference in New Issue