Skip to content

Commit b3b4e72

Browse files
committed
Fix filter teams by map bounds checkbox
1 parent 0e62ca6 commit b3b4e72

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/pages/teams/index.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,21 +128,27 @@ export default class TeamList extends Component {
128128
{this.renderMap()}
129129
<fieldset>
130130
<input
131+
name='map-bounds-filter'
132+
id='map-bounds-filter'
131133
type='checkbox'
132134
checked={searchOnMapMove}
133135
onChange={(e) => this.setSearchOnMapMove(e)}
134136
/>
135-
<span>Filter teams using map bounds</span>
137+
<label for='map-bounds-filter'>Filter teams by map</label>
136138
</fieldset>
137139
<Section>{this.renderTeams()}</Section>
138140
<style jsx>
139141
{`
140142
fieldset {
141143
display: inline-block;
142-
margin: 1rem 0 2rem;
143-
padding: 1.5rem;
144+
padding: 0.5rem;
144145
background: white;
145146
border-color: ${theme.colors.primaryColor};
147+
border-color: #384a9e;
148+
position: relative;
149+
top: -4rem;
150+
left: 1rem;
151+
z-index: 1000;
146152
}
147153
148154
fieldset input[type='checkbox'] {

0 commit comments

Comments
 (0)