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

Tag page padding issue in iOS Safari #109

Open
BDHU opened this issue Aug 28, 2021 · 0 comments
Open

Tag page padding issue in iOS Safari #109

BDHU opened this issue Aug 28, 2021 · 0 comments

Comments

@BDHU
Copy link
Contributor

BDHU commented Aug 28, 2021

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.87.0-B0C541E4 linux/amd64 BuildDate=2021-08-03T10:57:28Z VendorInfo=gohugoio

Does this issue reproduce with the latest release?

Yes

Recently, I was compiling my site using the mini theme. The current tag page is shown here. The site is generated using hugo 0.83.1.

However, hugo 0.87.0 (as well as 0.86.x) generated pages has an issue on Safari on Apple devices. The issue is illustrated in the picture below (iPhone Xs, iOS 14):

Sublime's custom image

The right padding of every tag's background is ignored. The CSS attributes for tag can be found at https://github.com/BDHU/hugo-theme-mini/blob/master/static/css/style.css#L466. This problem occurs only on Apple devices with newer version such as hugo 0.87.0 and 0.86.x. Firefox and Chrome on Windows, Linux, and Android systems don't appear to have such problem even with the latest hugo versions. hugo 0.83.x generates correct right padding on all devices include iPhone. Not sure if there are behavior changes in hugo or it's simply a problem related to the theme itself.

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

1 participant