Code Monkey home page Code Monkey logo

Comments (11)

panr avatar panr commented on May 28, 2024

Hmm... could you attach any screenshot with the bug? I can't reproduce it on my setup 🤔

from hugo-theme-hello-friend.

aormsby avatar aormsby commented on May 28, 2024

From my phone, without my css addition. As the excerpt text gets wider and takes up more space, it spreads the posts container beyond the edge of my screen. (That said, it seems my fix may not be doing what I thought it was anymore. I'll continue looking into this as well when I have time.)

Screenshot_20190819-022630

from hugo-theme-hello-friend.

jcalabres avatar jcalabres commented on May 28, 2024

Seems to be a good solution. @panr do you want I do a commit?

Thank you,
Joan.

from hugo-theme-hello-friend.

panr avatar panr commented on May 28, 2024

Huh, it's odd... Could you test https://hugo-hello-friend.now.sh on your devices and let me know if this site is also buggy?

I've just tested this site on Safari, Chrome (in mobile view) and also on iPhone X (and don't have any Android phone 😢) and everything works fine 🤔

from hugo-theme-hello-friend.

panr avatar panr commented on May 28, 2024

And @jcalabres if you want to, please add PR with your fix (posts: 100%), but please do it here: https://github.com/panr/hugo-theme-hello-friend/blob/master/source/css/post.css#L1 (before .post)

from hugo-theme-hello-friend.

jcalabres avatar jcalabres commented on May 28, 2024

Hello @panr, https://hugo-hello-friend.now.sh is working good with my iPhone7 (lol).

from hugo-theme-hello-friend.

panr avatar panr commented on May 28, 2024

Anyone reproduces this bug? 🤔

from hugo-theme-hello-friend.

aormsby avatar aormsby commented on May 28, 2024

Hey guys, sorry I haven't followed up on this. I've been busy with other things. To make a long story short, I figured out the issue was caused by the first chunk of content in one of my test posts being a huge code block. I guess code block data is unusable as preview content since it didn't display correctly AND it then caused the posts column to extend beyond the edges of my screen.

Everything works TOTALLY FINE when I put some normal text up front in the post. Sorry for not noticing that detail before. I feel like I could've seen that quicker if I'd had the chance to look at it further. Unless you want to look into displaying code data in the post previews, I'd support closing this issue.

Thanks for your patience. Great theme. I look forward to getting my blog running with it. :)

from hugo-theme-hello-friend.

kevinmachstudio avatar kevinmachstudio commented on May 28, 2024

@aormsby i got the error that you got, but i can't seem to get it working. What do you mean when you said "put some normal text up front in the post"

I don't have a cover photo for the post and my Markdown doesn't contain huge blocks of content, it's in the form

heading

content
image

heading

content
image

but it seems to stop working the more content after a few of these sections

from hugo-theme-hello-friend.

aormsby avatar aormsby commented on May 28, 2024

If I remember correctly, my issue was that I had a big fenced code block as the first item in my markdown file. For whatever reason, that wouldn't be properly displayed following the preview page's CSS. Just as a guess - perhaps it couldn't be properly read as markdown? When I just started my file with plain text (after front matter), things went back to normal. The post summary was automatically grabbed, and I had no display problems. I never figured it out then, but I haven't really needed to since.

If you throw up a sample file or image, I'd be happy to take a quick look at your issue and see if it's similar.

from hugo-theme-hello-friend.

kevinmachstudio avatar kevinmachstudio commented on May 28, 2024

seems like it happened because i had text right after putting a link in the sentence, which messed up the markdown, i took the text out after the link and just ended the sentence there and it worked

from hugo-theme-hello-friend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.