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

x/tools/cmd/godoc: Use relative (not absolute) font sizes #6150

Closed
jayschwa opened this issue Aug 14, 2013 · 7 comments

Comments

Projects
None yet
4 participants
@jayschwa
Copy link
Contributor

commented Aug 14, 2013

I changed my browser's default font size to be larger. (Note: this is different than
page zoom.) Go's online documentation does not respect this because sizes are hardcoded
to pixels inside godoc's style.css. It would be nice if style.css were updated to use
relative units (e.g. em) instead.
@jayschwa

This comment has been minimized.

Copy link
Contributor Author

commented Aug 14, 2013

Comment 1:

I'm willing to work on these changes myself if there is no opposition. I just did a
quick test where I stripped out all font-size lines in style.css... it looked more or
less the same when the browser's default font size is medium.
@robpike

This comment has been minimized.

Copy link
Contributor

commented Aug 15, 2013

Comment 2:

Labels changed: added priority-later, removed priority-triage, go1.2maybe.

Status changed to Accepted.

@rsc

This comment has been minimized.

Copy link
Contributor

commented Nov 27, 2013

Comment 3:

Labels changed: added go1.3maybe.

@rsc

This comment has been minimized.

Copy link
Contributor

commented Dec 4, 2013

Comment 4:

Labels changed: added release-none, removed go1.3maybe.

@rsc

This comment has been minimized.

Copy link
Contributor

commented Dec 4, 2013

Comment 5:

Labels changed: added repo-tools.

@gopherbot

This comment has been minimized.

Copy link

commented Aug 30, 2014

Comment 6:

CL https://golang.org/cl/133380043 mentions this issue.

@rsc rsc added this to the Unplanned milestone Apr 10, 2015

@rsc rsc changed the title cmd/godoc: Use relative (not absolute) font sizes x/tools/cmd/godoc: Use relative (not absolute) font sizes Apr 14, 2015

@rsc rsc removed the repo-tools label Apr 14, 2015

@gopherbot

This comment has been minimized.

Copy link

commented Feb 17, 2018

Change https://golang.org/cl/94935 mentions this issue: godoc: use relative css unit for font size

@golang golang locked and limited conversation to collaborators Apr 27, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.