Skip to content

feat: Add width and valign attributes for cleaner <td> - #344

Merged
tenshiAMD merged 2 commits into
all-contributors:masterfrom
qyurila:fix/add-new-td-attributes
Oct 10, 2022
Merged

tenshiAMD merged 2 commits into
all-contributors:masterfrom
qyurila:fix/add-new-td-attributes

Conversation

@qyurila

@qyurila qyurila commented Oct 10, 2022

Copy link
Copy Markdown
Contributor

What:

This PR improves the looks of contributors table to each cells have more constant width and avatars are vertically aligned.

Why:

Currently the table looks not very clean not only on mobile or small screen, but also on large screen depending contributorsPerLine value, if it's viewed on main page of repo. (relevant issue: #173)

How:

This PR adds width and valign attributes to contributor cells of the table.

  • width is calculated by dividing 100% by contributorsPerLine.
  • valign is set to top, for better avatar align.

Checklist:

  • Documentation
  • Tests
  • Ready to be merged
  • Added myself to contributors table

Additional Comment:

#173 might needs to be not closed or reopened later, because technically this PR doesn't make noticable visual improvement for mobile view.

@qyurila
qyurila requested a review from a team as a code owner October 10, 2022 19:29

@tenshiAMD tenshiAMD left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@qyurila LGTM. Thanks! 🎉

@tenshiAMD tenshiAMD changed the title feat: Add width and valign attributes to <td> for cleaner looks feat: Add width and valign attributes for cleaner <td> (#344) Oct 10, 2022
@tenshiAMD tenshiAMD changed the title feat: Add width and valign attributes for cleaner <td> (#344) feat: Add width and valign attributes for cleaner <td> Oct 10, 2022
@tenshiAMD
tenshiAMD merged commit 554667b into all-contributors:master Oct 10, 2022
@all-contributors-release-bot

Copy link
Copy Markdown
Member

🎉 This PR is included in version 6.24.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@qyurila
qyurila deleted the fix/add-new-td-attributes branch October 11, 2022 03:25
@all-contributors all-contributors deleted a comment from allcontributors Bot Oct 11, 2022
@tenshiAMD

Copy link
Copy Markdown
Member

@all-contributors please add @qyurila for code

@allcontributors

Copy link
Copy Markdown
Contributor

@tenshiAMD

I've put up a pull request to add @qyurila! 🎉

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.

3 participants