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 mobile PostStream top scroll adjustment & remove App:before #2385

Merged
merged 2 commits into from
Nov 14, 2020

Conversation

w-4
Copy link
Contributor

@w-4 w-4 commented Oct 12, 2020

Removing App:before, the behavior I believe doesn't change and is a lot cleaner. This has several advantages:

  • the mobile header has now height, which was needed for the PostStream fix to work.

  • it's now possible to access the mobile header via element id, and f.e. change the color programmatically on mobile. (I've been using that on my site for quite a while)

  • Frontend changes: tested on a local Flarum installation.

Copy link
Member

@askvortsov1 askvortsov1 left a comment

Choose a reason for hiding this comment

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

Seems to fix the issue when testing locally, haven't run into side effects. Thanks!

@askvortsov1 askvortsov1 added this to the 0.1.0-beta.15 milestone Oct 15, 2020
@askvortsov1 askvortsov1 removed this from the 0.1.0-beta.15 milestone Oct 27, 2020
@askvortsov1 askvortsov1 merged commit 571a835 into flarum:master Nov 14, 2020
@askvortsov1 askvortsov1 added this to the 0.1.0-beta.15 milestone Nov 14, 2020
@SychO9 SychO9 mentioned this pull request Dec 8, 2020
1 task
@iPurpl3x
Copy link
Contributor

This broke my CSS when upgrading... Took a while to find out what had changed !

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.

4 participants