You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug with a clear and concise description of what the bug is. Please include screenshots of any visual issues.
Inside a codeblock if the text is too long on one specific line the length of all the posts increase with it.
What's your GoToSocial Version?
GoToSocial 0.9.0 git-282be6f
Browser version
Mozilla Firefox(fedora) 115.0, Chromium(flatpak) 114.0.5735.198, Firefox for android, Chrome for android
What happened?
I was trying out what works for markdown, support for extended syntax elements(which isn't completely there yet), when I noticed that that due to the codeblock the recent posts were pulled bellow the About section. So I opened it on my phone to check it and the page wasn't readable on the phone.
A little investigation into it and the culprit was a line of code which was pretty long inside the codeblock.
This seems to happen with both the basic(4 spaces or 1 tab indentation) and extended(code between (```)) markdown syntax.
What you expected to happen?
One of two things:
line wrapping (not at all desirable)
a scroll bar specific to codeblock to appear allowing for scrolling the codeblock (this is what I hoped for)
How to reproduce it?
A long line of code inside a codeblock.
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered:
If someone makes a post with a long, uninterrupted piece of text in a
code snippet, we would stretch the column to fit it, resulting in the
UI going a bit whacky.
By setting min-width: 0% this fixes it, and we now automatically get a
scrollbar on overflow instead.
Fixes: superseriousbusiness#1952
If someone makes a post with a long, uninterrupted piece of text in a
code snippet, we would stretch the column to fit it, resulting in the
UI going a bit whacky.
By setting min-width: 0% this fixes it, and we now automatically get a
scrollbar on overflow instead.
Fixes: #1952
Describe the bug with a clear and concise description of what the bug is. Please include screenshots of any visual issues.
Inside a codeblock if the text is too long on one specific line the length of all the posts increase with it.

What's your GoToSocial Version?
GoToSocial 0.9.0 git-282be6f
Browser version
Mozilla Firefox(fedora) 115.0, Chromium(flatpak) 114.0.5735.198, Firefox for android, Chrome for android
What happened?
I was trying out what works for markdown, support for extended syntax elements(which isn't completely there yet), when I noticed that that due to the codeblock the recent posts were pulled bellow the About section. So I opened it on my phone to check it and the page wasn't readable on the phone.
A little investigation into it and the culprit was a line of code which was pretty long inside the codeblock.
This seems to happen with both the basic(4 spaces or 1 tab indentation) and extended(code between (```)) markdown syntax.
What you expected to happen?
One of two things:
How to reproduce it?
A long line of code inside a codeblock.
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: