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

Style fix for Issue #505 #531

Merged
merged 2 commits into from
Jun 29, 2020
Merged

Style fix for Issue #505 #531

merged 2 commits into from
Jun 29, 2020

Conversation

TomLaggna
Copy link

#505 Use the style directly from viewer.css (copied from PDF.js).

@VadimDez VadimDez added this to the 6.0.2 milestone Oct 31, 2019
@VadimDez
Copy link
Owner

@TomLaggna I see no difference regarding #505, do you see any differences?

@VadimDez VadimDez removed this from the 6.0.2 milestone Nov 10, 2019
@TomLaggna
Copy link
Author

@VadimDez
Hi, sorry for the late response.
Yes, I do see a difference (testing with this commit)
image

For comparison, the Image from #505
image

However, it seems that this commit broke it.

margin: 1px auto -8px auto;
position: relative;
overflow: visible;
border: 9px solid transparent;
Copy link
Contributor

Choose a reason for hiding this comment

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

you removed a bug fix for the borders for safari browsers. the original line was:

// https://stackoverflow.com/questions/21025212/border-image-not-showing-in-safari
// "transparent" makes the border not show up in Safari. But adding a light transparent color did
// rgba(0,0,0,0.01). But there needs to be an alpha value larger than 0.
border: 9px solid rgba(0,0,0,0.01);

@VadimDez VadimDez merged commit 7b2e6a9 into VadimDez:master Jun 29, 2020
@VadimDez VadimDez added this to the 6.3.1 milestone Jun 29, 2020
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.

None yet

3 participants