# Code Blocks Covered w/ long lines

**URL:** <https://crucible.hubbe.net/t/code-blocks-covered-w-long-lines/7878>\
**Category:** The Crucible\
**Created:** [May 3, 2026, 1:00pm UTC](https://crucible.hubbe.net/t/code-blocks-covered-w-long-lines/7878 "2026-05-03T13:00:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryryog25](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/ryryog25/32/1812_2.png) [@ryryog25](https://crucible.hubbe.net/u/ryryog25)\
**Post date:** [May 3, 2026, 1:00pm UTC](https://crucible.hubbe.net/t/code-blocks-covered-w-long-lines/7878/1 "2026-05-03T13:00:13Z")

</div>

Image of what I’m seeing:

 ![CleanShot 2026-05-03 at 08.58.55@2x](https://crucible.hubbe.net/uploads/default/original/2X/4/46e20f4cb056742d7983d5753e77fdfdf81a081c.png)

if I recall correctly, @profezzorn you turned this feature on yourself and maybe have some control over its styling.

With long lines, the fancy box makes the code block pretty worthless since the scrollbars just cover everything. You can click the expand button and see it fullscreen, but still…

---

<div class="post-metadata">

**Author:** ![ryryog25](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/ryryog25/32/1812_2.png) [@ryryog25](https://crucible.hubbe.net/u/ryryog25)\
**Post date:** [May 3, 2026, 1:58pm UTC](https://crucible.hubbe.net/t/code-blocks-covered-w-long-lines/7878/2 "2026-05-03T13:58:25Z")

</div>

That was macOS Safari. On iOS Safari it’s better (and the scrollbar only shows when you’re scrolling, for better or worse), but still partially occludes the text.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [May 3, 2026, 9:27pm UTC](https://crucible.hubbe.net/t/code-blocks-covered-w-long-lines/7878/3 "2026-05-03T21:27:41Z")

</div>

This is a test:

```cpp
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

```

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [May 3, 2026, 9:32pm UTC](https://crucible.hubbe.net/t/code-blocks-covered-w-long-lines/7878/4 "2026-05-03T21:32:31Z")

</div>

I don’t have a mac to test on, and it looks fine on my brower(s).  
It could be the line number add-on that is doing something weird though.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [May 3, 2026, 9:33pm UTC](https://crucible.hubbe.net/t/code-blocks-covered-w-long-lines/7878/5 "2026-05-03T21:33:24Z")

</div>

Or maybe safari isn’t honoring scroll bar size CSS?  
(The scroll bar in your picture is much bigger than in my browser.)

---

<div class="post-metadata">

**Author:** ![ryryog25](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/ryryog25/32/1812_2.png) [@ryryog25](https://crucible.hubbe.net/u/ryryog25)\
**Post date:** [May 3, 2026, 9:35pm UTC](https://crucible.hubbe.net/t/code-blocks-covered-w-long-lines/7878/6 "2026-05-03T21:35:24Z")

</div>

Safari scroll bar doesn’t change with CSS, save for a few minor things.

---

<div class="post-metadata">

**Author:** ![profezzorn](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/profezzorn/32/8_2.png) [@profezzorn](https://crucible.hubbe.net/u/profezzorn)\
**Post date:** [May 3, 2026, 11:10pm UTC](https://crucible.hubbe.net/t/code-blocks-covered-w-long-lines/7878/7 "2026-05-03T23:10:13Z")

</div>

Unfortunately, the code block becomes regular text if I disable the line number component.  
I’ll read up on it some more.  
Possibly, the right place to report this issue is here:

> **[Issues · Lillinator/code-block-line-numbers](https://github.com/Lillinator/code-block-line-numbers/issues)**
>
> line numbers for Discourse code blocks. Contribute to Lillinator/code-block-line-numbers development by creating an account on GitHub.
