Table Headers are Always Left Aligned

Open
#431 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
38/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
css

Research direction

The issue points to Web/sass/_reboot.scss lines 289-292 and provides the intended attribute selectors. Start there, then inspect the documentation site's markdown table rendering. Done means table headers follow the corresponding left, center, or right alignment in a rendered table.

Written by the indexing model from the issue text.

Description

Theme

Table headers are always left aligned. This seems to be as a result of a configuration in Web which was not properly handled for GitHub markdown.

Left Aligned Table

This can be remedied using attribute selectors on the CSS headers to match the alignment of the td:

th[align="center"] {
    text-align: center;
}

th[align="left"] {
    text-align: left;
}

th[align="right"] {
    text-align: right;
}
Dominant language
HTML
Stars
513
Forks
192
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MinecraftForge/Documentation

All issues in MinecraftForge/Documentation

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.