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

Main content slides around on tablet #5

Open
bershatsky opened this issue Jan 8, 2019 · 3 comments
Open

Main content slides around on tablet #5

bershatsky opened this issue Jan 8, 2019 · 3 comments

Comments

@bershatsky
Copy link

When the menu on the left is collapsed, all is fine. When the menu is extended (default), the main content area slides all around and isn’t locked down. Please fix.

@bershatsky
Copy link
Author

It doesn’t seem to slide on my ipad now, but it still does on my iPhone 8. Thanks for your attention. I really like this theme!

@sheldrake
Copy link

I love this theme. Saying that, I'm a growing fan of Ghost too. But it seems I have a problem similar to the one @bershatsky describes here.

The rendering is perfect on all screens I have access to except iPhone 13 Pro in portrait orientation. Landscape is fine. But in portrait, one's finger can move the content left and right as well as up and down. In Firefox, Safari, and Chrome.

I believe it may be an image issue. Posts without inline (as opposed to featured) images don't exhibit this behaviour. Those posts with inline images do, but only as and when the image is first rendered.

e.g. https://generative-identity.org/towards-a-shared-understanding-of-digital-identity/

Any and all ideas gratefully received. 🙏🏼

@sheldrake
Copy link

sheldrake commented Jul 15, 2022

Turns out this problem is not related to images. The answer was presented to me as an issue with long-form URLs which I had in my footnotes. Here's the answer ...

Add the following CSS to Code Injection header (inside existing style tags if you already have them in the Code Injection header box of course):

<style>
a {
  word-break: break-word;
}
</style>

Note that this will affect formatting for any links, so you may want to modify the selector.

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

No branches or pull requests

2 participants