Skip to content

Commit

Permalink
feat: fine tune
Browse files Browse the repository at this point in the history
  • Loading branch information
lpernelle-woosmap committed Dec 5, 2024
1 parent 564ae41 commit 0308029
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion samples/localities-nearby-poi/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
<div class="sectionHeader"><span>Radius</span></div>
<div class="radius__container">
<input type="range" id="radius" min="10" max="50000" value="1000"><label id="radius-label" contenteditable="true">1&thinsp;km</label>
<input type="range" id="radius" min="100" max="10000" value="1000" step="100"><label id="radius-label" contenteditable="true">1&thinsp;km</label>
</div>

<div class="sectionHeader"><span>Results</span> <span is="pagination"><button id="page-previous" disabled>&#8249;</button><button id="page-next" disabled>&#8250;</button></span></div>
Expand Down
9 changes: 9 additions & 0 deletions samples/localities-nearby-poi/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,13 @@ ol#results {
}
}

#radius {
flex: 1; /* Take all remaining space */
}

#radius-label {
border: 1px dashed #ccc;
outline: none;
}

/* [END woosmap_localities_nearby_poi] */

0 comments on commit 0308029

Please sign in to comment.