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

Hide MagnifyHint when image is already fully magnified, and use magnified image in Lightbox #50

Merged
merged 3 commits into from
Mar 6, 2020

Conversation

kevhender
Copy link
Contributor

No description provided.

@kevhender kevhender added the bug Something isn't working label Feb 24, 2020
@kevhender kevhender requested review from leotoll and dijs February 24, 2020 21:54
Copy link
Contributor

@leotoll leotoll left a comment

Choose a reason for hiding this comment

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

Had some style problems with this PR, everything was off.
UPDATE: Randomly styles are fixed now I don't know what happened...

let showHint = true
if (typeof window !== 'undefined') {
const { innerWidth } = window
const mediaWidth = get(media.full[selected], 'magnify.width', 10000)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a variable for this magic 10000?

@kevhender kevhender merged commit e62910b into master Mar 6, 2020
@kevhender kevhender deleted the kh-pc-1176 branch March 6, 2020 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants