Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In Safari iOS, child tags are slightly higher than the parent tag.
I’m recommending adding this at the bottom of this file with the comment left in place so that it can be easily removed in the future as needed.
Also, to be safe, using .mobile-safari class which is already automatically added to the #app class list when Safari iOS is detected. Thus, fix/patch will not affect other browsers.🤦♂️This isn’t true. The mobile safari class I saw was added by my dev testing browser and not Flarum. This fix still works though! I just need help throughly testing because I only have a Mac and iPhone.**Fixes #3245 **
Changes proposed in this pull request:
This adds a CSS rule for Safari iOS. Fixes a tag alignment issue only in Safari iOS. Might not always be needed, therefore added to bottom of file with CSS comment.
Reviewers should focus on:
You need an iPhone to test. It’s the only way. Or an accurate emulator. You should see that without this fix, certain secondary tags are not aligned.
Then, since I only have a Mac and iPhone, someone needs to test this on a PC and Android device. For this test you’re looking to ensure nothing changes. Rule should only help iPhone, and not affect other devices/browsers.
Screenshot
Fixes this. Look closely. 👀
Necessity
Confirmed
composer test
).Required changes: