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

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

Merged
merged 2 commits into from
Oct 10, 2022

Conversation

qyurila
Copy link
Contributor

@qyurila qyurila commented Oct 10, 2022

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

@tenshiAMD tenshiAMD left a comment

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
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
Member

@all-contributors please add @qyurila for code

@allcontributors
Copy link
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants