Hugo-theme-zzo: Blog has issues with being responsive

Created on 13 Jan 2020  路  9Comments  路  Source: zzossig/hugo-theme-zzo

Here are some examples:
Screenshot from 2020-01-13 01-08-58
Screenshot from 2020-01-13 01-09-14
Screenshot from 2020-01-13 01-09-22
Screenshot from 2020-01-13 01-09-36

  • Notice the white space on the side.
  • Notice if I just have the background image for the header, it is not scaled down to fill the container but is cut off from the sides.

How to test:

  1. Right click and select inspect
  2. Select mobile view and then change width.
  3. Select devices option from the top bar. It breaks for iPhone 5/6/7 and Samsung Galaxy devices.
bug

All 9 comments

Thank you for the issue!
I'll fix it soon馃槉

I found that your update-dependencies-code-repeat.md file,
the browser doesn't wrap the title Update Dependencies.Code.Repeat

You mean this:
Screenshot from 2020-01-13 01-35-22

I found that your update-dependencies-code-repeat.md file,
the browser doesn't wrap the title Update Dependencies.Code.Repeat

I have bigger titles than just that. I think the longest is this: "I could not find a simple Gesture Detection android library, so I built one"

Can you edit the update-dependencies-code-repeat.md file

this

title = "Update Dependencies.Code.Repeat."

to this

title = "Update Dependencies .Code. Repeat."

add space between .

This is just a quick solution. I'll investigate more about it.

I updated to wrap the summary title

Whatever change you made, fixed the responsive issue. Now the blog fits in all phone sizes. I just tested! :tada:

The only question to ask is can the background image for header also scale down to fit ?

Can you try to change the imageSize param?

- type: img
    ...
    imageSize:
    ...

imageSize: auto | length | cover | contain | initial | inherit

If it does not solve the problem, tell me

I think contain works. I am looking into making it work. I think this issue can be closed.

Thank you :)

Was this page helpful?
0 / 5 - 0 ratings