Skip to content

Inherit box-sizing into <map> - #499

Merged
prushforth merged 1 commit into
Maps4HTML:mainfrom
Malvoz:map-el-box-sizing-inherit
Oct 4, 2021
Merged

Inherit box-sizing into <map>#499
prushforth merged 1 commit into
Maps4HTML:mainfrom
Malvoz:map-el-box-sizing-inherit

Conversation

@Malvoz

@Malvoz Malvoz commented Jul 28, 2021

Copy link
Copy Markdown
Member

Per #350 (comment). Close #350.

@Malvoz

Malvoz commented Sep 29, 2021

Copy link
Copy Markdown
Member Author

Per #350 (comment).

To clarify further, and for you to see it in action, compare the experiment maps:

https://maps4html.org/experiments/screenreader/restaurants/ (<mapml-viewer>) and
https://maps4html.org/experiments/progressive-enhancement/ (<map>)

Both these maps share the same stylesheet, despite that, the latter produces scrollbars, if you add box-sizing: inherit to <map> (as this PR suggests) they now behave the same and no scrollbars appear.

@prushforth
prushforth merged commit 46ce2aa into Maps4HTML:main Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How can we get rid of the scrollbars on the map

2 participants