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/website: tables are awkwardly formatted #67368

Open
jjlin opened this issue May 14, 2024 · 1 comment
Open

x/website: tables are awkwardly formatted #67368

jjlin opened this issue May 14, 2024 · 1 comment
Labels
help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. website

Comments

@jjlin
Copy link

jjlin commented May 14, 2024

What is the URL of the page with the issue?

https://go.dev/ref/mod#environment-variables

What is your user agent?

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Screenshot

image

What did you do?

Visit https://go.dev/ref/mod#environment-variables

What did you see happen?

The table of environment variables has no cell borders and the content is vertically centered. This makes it needlessly difficult to understand which variable corresponds to which description, and where one description ends and the next begins.

What did you expect to see?

If the table is going to have no borders, then I think the content should be top-aligned.

I'd expect that other tables in the Go documentation probably have this issue as well.

@jjlin jjlin added the pkgsite label May 14, 2024
@seankhliao seankhliao changed the title Tables in Go documentation are awkwardly formatted x/website: tables are awkwardly formatted May 15, 2024
@gopherbot gopherbot added this to the Unreleased milestone May 15, 2024
@seankhliao seankhliao added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. and removed Documentation pkgsite labels May 15, 2024
@hyangah
Copy link
Contributor

hyangah commented May 23, 2024

I agree this table will look better and more readable if it's top-aligned.
CSS adjustment for this table is welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. website
Projects
None yet
Development

No branches or pull requests

4 participants