Skip to content

Commit e1429d6

Browse files
Move search bar below filters; fix clear button height
1 parent f7ff513 commit e1429d6

2 files changed

Lines changed: 15 additions & 11 deletions

File tree

index.html

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,6 @@ <h1>
4242
</div>
4343
</div>
4444
<hr>
45-
<div class="row search-row">
46-
<div class="col-xs-12">
47-
<div class="input-group search-bar">
48-
<span class="input-group-addon"><i class="fas fa-search"></i></span>
49-
<input type="text" id="search-input" class="form-control" placeholder="Search by name, venue, location…" autocomplete="off">
50-
<span class="input-group-btn">
51-
<button id="clear-search" class="btn btn-default" type="button" title="Clear search"><i class="fas fa-times"></i></button>
52-
</span>
53-
</div>
54-
</div>
55-
</div>
5645
<div class="row">
5746
<div class="col-xs-12">
5847
<span class="tagtitle"><b>Filter by tags:</b> Select one or more to refine the list, or leave all unchecked to show every deadline.</span>
@@ -111,6 +100,16 @@ <h1>
111100
<button class="btn btn-default btn-sm sort-btn" data-sort="event-date">Event Date</button>
112101
</div>
113102

103+
<div class="col-xs-12 search-row">
104+
<div class="input-group search-bar">
105+
<span class="input-group-addon"><i class="fas fa-search"></i></span>
106+
<input type="text" id="search-input" class="form-control" placeholder="Search by name, venue, location…" autocomplete="off">
107+
<span class="input-group-btn">
108+
<button id="clear-search" class="btn btn-default" type="button" title="Clear search"><i class="fas fa-times"></i></button>
109+
</span>
110+
</div>
111+
</div>
112+
114113
</div>
115114

116115
</div>

static/css/styles.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ h2 .evtname {
3737
border-left: none;
3838
color: #aaa;
3939
box-shadow: none;
40+
height: 34px;
41+
padding-top: 6px;
42+
padding-bottom: 6px;
43+
font-size: 14px;
44+
line-height: 1.42857;
4045
}
4146

4247
.search-bar .input-group-btn .btn:hover {

0 commit comments

Comments
 (0)