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

Horizontal lines on the HTML landing page with Safari #10

Closed
EricL2017 opened this issue Sep 23, 2020 · 6 comments · Fixed by #28
Closed

Horizontal lines on the HTML landing page with Safari #10

EricL2017 opened this issue Sep 23, 2020 · 6 comments · Fixed by #28
Labels
bug Something isn't working enhancement New feature or request

Comments

@EricL2017
Copy link

Hi, there are horizontal lines appearing before/after sections on the HTML landing page. This happens on Safari version 14.0. It also appears randomly, depending on the size of the safari window. Attached is an example of the issue, which is easy to reproduce.
Screen Shot 2020-09-23 at 4 03 34 PM

@einazare
Copy link
Contributor

Hello there, @EricL2017 ,

At the moment we do not have a fix for this.
From what we can tell, that line only appears when resizing the window, we think it may be a bug from the actual browser.
A quick fix could be the to change the following line:

<svg class="absolute bottom-0 overflow-hidden" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none" version="1.1" viewBox="0 0 2560 100" x="0" y="0">

To

<svg class="absolute bottom-0 overflow-hidden -mb-1" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none" version="1.1" viewBox="0 0 2560 100" x="0" y="0">

This will make the fancy skew go downwards a bit (~4px), this means that it should cover the 1px black line that you see.

Let me know if that solved your issue.

Best,
Manu

@einazare einazare added bug Something isn't working enhancement New feature or request labels Sep 24, 2020
@EricL2017
Copy link
Author

Hi Manu,

Thanks for your quick response. I applied the changes that you suggested, however it does not fix the issue. See attached the updated HTML landing page, for reference.

Thanks!
Eric

landing.html.zip

@einazare
Copy link
Contributor

Hello again, @EricL2017 ,

I've tried to figure out a solution, but at the moment, the only one is to delete that SVG altogether, this means that you will no longer have that nice skew.
Let me know if you find another solution.

Best,
Manu

@ryanwinchester
Copy link

I also see the line in Firefox and not just from resizing the page.

@ryanwinchester
Copy link

ryanwinchester commented Nov 19, 2020

@einazare @EricL2017 also, I think the -mb-1 fix would work, but I don't think that class is included in the provided compiled tailwindcss file.

@ryanwinchester
Copy link

I added style="margin-bottom:-1px;" to each SVG and it mostly fixed it. The top one still had the line almost randomly. And it could disappear and reappear when scrolling.

When I removed transform: translateZ(0px); it seems to have disappeared completely.

einazare added a commit that referenced this issue Mar 23, 2021
einazare added a commit that referenced this issue Mar 23, 2021
einazare added a commit that referenced this issue Mar 23, 2021
einazare added a commit that referenced this issue Mar 23, 2021
einazare added a commit that referenced this issue Mar 23, 2021
einazare added a commit that referenced this issue Mar 23, 2021
einazare added a commit that referenced this issue Mar 23, 2021
einazare added a commit that referenced this issue Mar 23, 2021
einazare added a commit that referenced this issue Mar 23, 2021
einazare added a commit that referenced this issue Mar 23, 2021
einazare added a commit that referenced this issue Mar 23, 2021
einazare added a commit that referenced this issue Mar 23, 2021
einazare added a commit that referenced this issue Mar 23, 2021
einazare added a commit that referenced this issue Mar 23, 2021
einazare added a commit that referenced this issue Mar 23, 2021
einazare added a commit that referenced this issue Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants