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

Fix the alignment of the header buttons #4539

Merged
merged 2 commits into from
Apr 18, 2022

Conversation

ronilaukkarinen
Copy link
Contributor

Before:

image

After this PR:

image

That margin there is unnecessary and causes some themes/fonts to align incorrectly. align-items: center; and margin reset make sure incorrect alignment is not happening in any scenario.

@itsjohncs
Copy link
Member

Is Fix topic wrapping on mobile meant to be in this PR? You only have screenshots and a description for the header button alignment.

@itsjohncs itsjohncs self-assigned this Apr 18, 2022
@itsjohncs itsjohncs added Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors. Status: WIP Work in progress or feature not fully fleshed out yet labels Apr 18, 2022
@ronilaukkarinen
Copy link
Contributor Author

ronilaukkarinen commented Apr 18, 2022

Is Fix topic wrapping on mobile meant to be in this PR? You only have screenshots and a description for the header button alignment.

Yes. The original commit caused unintentional topic wrapping bug on mobile devices. Both commits are of this PR and needed this to work.

@MaxLeiter MaxLeiter added Status: needs-review PR not yet reviewed by enough maintainers and removed Status: WIP Work in progress or feature not fully fleshed out yet labels Apr 18, 2022
@MaxLeiter MaxLeiter self-assigned this Apr 18, 2022
Copy link
Member

@itsjohncs itsjohncs left a comment

Choose a reason for hiding this comment

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

Thank you, I understand now. LGTM, tested on a few devices: Android phone, iOS phone & tablet, and Mac OS Desktop w/ Safari.

@MaxLeiter MaxLeiter added this to the 4.3.2 milestone Apr 18, 2022
@MaxLeiter MaxLeiter merged commit 5e8adaf into thelounge:master Apr 18, 2022
@MaxLeiter
Copy link
Member

Thanks @ronilaukkarinen!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: needs-review PR not yet reviewed by enough maintainers Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants