mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 17:53:44 +08:00
UX: Making button on advanced search page match input height
This commit is contained in:
parent
60cd28d5b9
commit
920571ae07
|
@ -1,9 +1,10 @@
|
||||||
{{#d-section pageClass="search" class="search-container"}}
|
{{#d-section pageClass="search" class="search-container"}}
|
||||||
{{scroll-tracker name="full-page-search" tag=searchTerm}}
|
{{scroll-tracker name="full-page-search" tag=searchTerm}}
|
||||||
<div class="search row clearfix">
|
<div class="search row clearfix">
|
||||||
|
<div class="search-bar">
|
||||||
{{search-text-field value=searchTerm class="full-page-search input-xxlarge search no-blur" action="search" hasAutofocus=hasAutofocus}}
|
{{search-text-field value=searchTerm class="full-page-search input-xxlarge search no-blur" action="search" hasAutofocus=hasAutofocus}}
|
||||||
{{d-button action="search" icon="search" class="btn-primary" disabled=searching}}
|
{{d-button action="search" icon="search" class="btn-primary" disabled=searching}}
|
||||||
|
</div>
|
||||||
<div class='search-advanced'>
|
<div class='search-advanced'>
|
||||||
<button class="search-advanced-btn btn" {{action "toggleAdvancedSearch"}}>
|
<button class="search-advanced-btn btn" {{action "toggleAdvancedSearch"}}>
|
||||||
{{{searchAdvancedIcon}}}
|
{{{searchAdvancedIcon}}}
|
||||||
|
|
|
@ -87,9 +87,15 @@
|
||||||
|
|
||||||
.search.row {
|
.search.row {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
input {
|
|
||||||
height: 22px;
|
.search-bar {
|
||||||
padding-left: 6px;
|
display: flex;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
input {
|
||||||
|
height: 22px;
|
||||||
|
padding-left: 6px;
|
||||||
|
margin: 0 5px 0 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.new-topic-btn {
|
.new-topic-btn {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user