Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move font-family customization to layout.css #2895

Merged
merged 1 commit into from
Nov 17, 2014

Conversation

fredj
Copy link
Member

@fredj fredj commented Oct 30, 2014

Don't force a font-family at the library level, move it to resources/layout.css (used by the examples)

@fredj
Copy link
Member Author

fredj commented Nov 10, 2014

Thanks for any review

@ahocevar
Copy link
Member

Not sure if this is a good idea. The default font (serif on most browsers) really does not look good inside the map. An alternative would be to set a font-family on .ol-viewport, then it can more easily be overridden by applications than the way it is now.

@tschaub
Copy link
Member

tschaub commented Nov 11, 2014

I imagine most people who don't want the browser default will set the font-family on the body already. I think removing the font-family from our CSS is the way to go.

@ahocevar
Copy link
Member

Good point that @tschaub is making.

@fredj
Copy link
Member Author

fredj commented Nov 17, 2014

ok to merge this PR?

(side note: I'm no longer using the css from ol3 in my customer project so I don't care that much about this change)

@ahocevar
Copy link
Member

@tschaub convinced me. I'm fine with your changes @fredj.

@elemoine
Copy link
Member

+1

fredj added a commit that referenced this pull request Nov 17, 2014
Move font-family customization to layout.css
@fredj fredj merged commit a77b7aa into openlayers:master Nov 17, 2014
@fredj fredj deleted the remove-font-family branch November 17, 2014 15:43
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.

None yet

4 participants