Skip to content

Commit

Permalink
fix road list cutoff and scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
willowsokora committed Sep 17, 2023
1 parent 6e42408 commit 78f5c9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,16 +151,6 @@ $('#show').on('click', (e) => {
}
})

$(window).resize(() => {
if ($(window).height() < $(window).width()) {
$('#extra').show()
$('#sidecard').css('height', '100%')
} else {
$('#extra').hide()
$('#sidecard').css('height', '20%')
}
})

$('#numberedhelper').on('click', (e) => {
for (street in streetdata) {
if (street.match(/\d+(RD|ST|TH|ND)/g)) {
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ a {

ul {
overflow: scroll;
height: 60%;
height: 40em;
padding: 0;
list-style: none;
}
Expand Down

0 comments on commit 78f5c9d

Please sign in to comment.