Skip to content
This repository has been archived by the owner on Feb 12, 2019. It is now read-only.

Bubble does not appear in correct location on landscape iPhone #276

Open
s1h4d0w opened this issue Dec 7, 2017 · 1 comment
Open

Bubble does not appear in correct location on landscape iPhone #276

s1h4d0w opened this issue Dec 7, 2017 · 1 comment

Comments

@s1h4d0w
Copy link

s1h4d0w commented Dec 7, 2017

The title says it all, when I open my website while holding my phone in landscape the bubble appears pointing at the bottom of the page, while the share icon is in the top right.

I'm not sure if this is something new in iOS and if the script hasn't been updated yet, but if so, could someone tell me how to add a new "location" for the bubble? I know some decent javascript but couldn't find the positions for the bubble in the scrips, but I'm sure I'm just missing it.

image-1

@s1h4d0w
Copy link
Author

s1h4d0w commented Dec 7, 2017

I kind of made a fix for this. Add the below code to the bottom of your css file, in de @media only screen and (orientation: landscape) part below the .ath-ios.ath-phone class.

Could someone make a pull request for this? I know very little about git.

.ath-ios11.ath-phone {
	left: auto;
	bottom: auto;
	right: 0.4em;
	top: 1.8em;
}
.ath-ios11.ath-phone:after {
	bottom: auto;
	top: -0.9em;
	left: 69%;
	z-index: 2147483641;
	box-shadow: none;
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant