Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Post History

66%
+2 −0
Q&A Horizontal scroll bar is out of view in some code blocks

If a code block has longer lines than will fit within the width of the code block, there is no indication that this is the case, nor any obvious way to scroll horizontally. For an example, see dig ...

0 answers  ·  posted 3y ago by Canina‭  ·  edited 3y ago by Monica Cellio‭

#6: Post edited by user avatar Monica Cellio‭ · 2020-11-01T00:20:19Z (over 3 years ago)
#5: Post edited by user avatar Moshi‭ · 2020-10-09T00:01:14Z (over 3 years ago)
Changed title to better reflect the bug
  • Code blocks with long lines have no horizontal scroll bar
  • Horizontal scroll bar is out of view in some code blocks
#4: Post edited by user avatar Canina‭ · 2020-10-08T17:45:17Z (over 3 years ago)
  • If a code block has longer lines than will fit within the width of the code block, there is no indication that this is the case, nor any obvious way to scroll horizontally. For an example, see [dig -6 works but dig -4 does not](https://software.codidact.com/q/278395) on Software Development.
  • Ideally, code blocks should have a horizontal scroll bar if (and only if) the content is wider than what is being displayed, just as they currently have a vertical scroll bar iff there are more lines than will fit vertically.
  • Here's what the above-linked question looks like to me, in part, in Firefox ESR 78.3:
  • > ![Screenshot of part of the question](https://meta.codidact.com/uploads/EBhXrLiVFGozWqGEyq5gV7ve)
  • If a code block has longer lines than will fit within the width of the code block, there is no indication that this is the case, nor any obvious way to scroll horizontally. For an example, see [dig -6 works but dig -4 does not](https://software.codidact.com/q/278395) on Software Development.
  • Ideally, code blocks should have a horizontal scroll bar if (and only if) the content is wider than what is being displayed, just as they currently have a vertical scroll bar iff there are more lines than will fit vertically.
  • Here's what the above-linked question looks like to me, in part, in Firefox ESR 78.3:
  • > ![Screenshot of part of the question](https://meta.codidact.com/uploads/EBhXrLiVFGozWqGEyq5gV7ve)
  • Another, possibly better, example that illustrates the same issue might be especially the first code block in the question [connect with SLOT/SIGNAL: QPushButton clicked signal not received by main window](https://software.codidact.com/questions/277881), also on Software Development.
#3: Post edited by user avatar Moshi‭ · 2020-10-07T22:41:12Z (over 3 years ago)
Retagged
#2: Post edited by user avatar Canina‭ · 2020-10-07T19:06:57Z (over 3 years ago)
Add screenshot
  • If a code block has longer lines than will fit within the width of the code block, there is no indication that this is the case, nor any obvious way to scroll horizontally. For an example, see [dig -6 works but dig -4 does not](https://software.codidact.com/q/278395) on Software Development.
  • Ideally, code blocks should have a horizontal scroll bar if (and only if) the content is wider than what is being displayed, just as they currently have a vertical scroll bar iff there are more lines than will fit vertically.
  • If a code block has longer lines than will fit within the width of the code block, there is no indication that this is the case, nor any obvious way to scroll horizontally. For an example, see [dig -6 works but dig -4 does not](https://software.codidact.com/q/278395) on Software Development.
  • Ideally, code blocks should have a horizontal scroll bar if (and only if) the content is wider than what is being displayed, just as they currently have a vertical scroll bar iff there are more lines than will fit vertically.
  • Here's what the above-linked question looks like to me, in part, in Firefox ESR 78.3:
  • > ![Screenshot of part of the question](https://meta.codidact.com/uploads/EBhXrLiVFGozWqGEyq5gV7ve)
#1: Initial revision by user avatar Canina‭ · 2020-10-07T18:55:36Z (over 3 years ago)
Code blocks with long lines have no horizontal scroll bar
If a code block has longer lines than will fit within the width of the code block, there is no indication that this is the case, nor any obvious way to scroll horizontally. For an example, see [dig -6 works but dig -4 does not](https://software.codidact.com/q/278395) on Software Development.

Ideally, code blocks should have a horizontal scroll bar if (and only if) the content is wider than what is being displayed, just as they currently have a vertical scroll bar iff there are more lines than will fit vertically.