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 »
Meta

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Comments on The size of the code format window is much too small.

Parent

The size of the code format window is much too small.

+16
−1

When posting a lot of code on the site, the "code format window" is much too small:

1   I'm talking about this thing
2
3
4
5
6
7
8
9
10
11
12
13
14
15

The scroll bar appears after only 13 lines for me, so I can only view 13 lines at a time without scrolling. That's much too small. Back in the days of MS DOS we were stuck with 25 lines on the screen, which was a pittance. Any reason why Codidact caps out at half of that?

Modern IDEs on high resolution monitors show at least 40-50 lines simultaneously. Stack Overflow shows 33 lines simultaneously (and is not responsive to zooming).

Now this might very well be some responsive design hiccup I'm not aware of - if so I'd appreciate advise for how to fix it. I can't get zooming or font size settings on Firefox to affect the 13 line limit anyhow. I view the site in 1920x1200 resolution on a 28 inch monitor, so it is quite capable of showing more than 13 readable lines at once.

Can we increase this limit to some >30 lines? As it stands, it is painful to read code posted on the site, code reviews in particular.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

2 comment threads

Sorry for the long delay! (2 comments)
General comments (1 comment)
Post
+4
−0

I apologize for the long delay in getting such a small change made and deployed.

Someday I would like the blocks to be resizable, but in the meantime, a code block now shows 40 lines before the scrollbar kicks in:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
the answer to life, the universe, and everything
History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

Awesome :) (2 comments)
Awesome :)
Lundin‭ wrote about 2 years ago

Great job everyone who was involved in finally fixing this!

Monica Cellio‭ wrote about 2 years ago

It was a comedy of errors. At the root of it, it just required changing one number in some CSS. But the design framework (co-design) is a separate piece from the main code, so we had to make the change there and then update the external reference from the main repo (qpixel). But there was, uh, some npm thing that got in the way and had to be untangled before we could do the update. Software -- never boring!