Skip to content

Commit

Permalink
Add "tabindex" to map views in order to not interrupt page scrolling
Browse files Browse the repository at this point in the history
See #64
  • Loading branch information
thekid committed Dec 7, 2024
1 parent aa9ed6b commit ac3b93a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Dialog change log

## ?.?.? / ????-??-??

* Changed maps to not interrupt page scrolling as requested in #64
(@kiesel, @thekid)
* Changed image import to rounds focal lengths, which are potentially
expressed as a fraction
(@thekid)
Expand Down
2 changes: 1 addition & 1 deletion src/main/handlebars/content.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ parent: feed
{{count item.views '' '(Eine Ansicht)' '(# Ansichten)'}}
</div>

<div id="map">
<div id="map" tabindex="1">
<div class="popup"></div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/main/handlebars/journey.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ parent: feed
</div>
{{> partials/images in=journey first='true' style='overview'}}

<div id="map">
<div id="map" tabindex="1">
<div class="popup"></div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/main/handlebars/journeys.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{{/with}}
{{/inline}}
{{#*inline "main"}}
<div id="map" class="full">
<div id="map" class="full" tabindex="1">
<div class="popup"></div>
</div>

Expand Down

0 comments on commit ac3b93a

Please sign in to comment.