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
Closed

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

jayschwa opened this issue Aug 14, 2013 · 7 comments

Comments

@jayschwa
Copy link
Contributor

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
Copy link
Contributor Author

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
Copy link
Contributor

robpike commented Aug 15, 2013

Comment 2:

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

Status changed to Accepted.

@rsc
Copy link
Contributor

rsc commented Nov 27, 2013

Comment 3:

Labels changed: added go1.3maybe.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 4:

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

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 5:

Labels changed: added repo-tools.

@gopherbot
Copy link

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
Copy link

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.
Projects
None yet
Development

No branches or pull requests

4 participants