Skip to content

Conversation

@Johennes
Copy link
Contributor

@Johennes Johennes commented Mar 26, 2024

I'm probably the only person occasionally reading the spec on my phone but whenever I do it's usually quite cumbersome. One of the issues is a sub-optimal use of white space. This PR removes some of the needless emptiness on mobile viewports.

Before After

Preview: https://pr1770--matrix-spec-previews.netlify.app

@Johennes Johennes requested a review from a team as a code owner March 26, 2024 12:57
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
@Johennes Johennes force-pushed the johannes/mobile-spacing branch from 0077dc2 to 5cd141c Compare March 26, 2024 13:00
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

Thanks for this! A few suggestions.

.pageinfo-primary {
max-width: 80%;
@media (min-width: 768px) {
max-width: 80%;
Copy link
Member

Choose a reason for hiding this comment

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

No action required, but #761 is related here. The whole thing is a mess.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, interesting. Yeah, I had noticed some of the other content having odd widths, too, but tried to keep changes to a minimum here.

Johennes and others added 5 commits March 26, 2024 20:26
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
@Johennes Johennes requested a review from richvdh March 26, 2024 19:44
Copy link
Member

@richvdh richvdh 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!

@richvdh richvdh merged commit 8ff3623 into matrix-org:main Mar 27, 2024
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.

2 participants