Code block copy icon hides content #791

Closed
opened 2026-02-04 22:17:57 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @watschi on GitHub (Aug 22, 2018).

Describe the bug
When using horizontal scrolling in code blocks, the copy icon hides the blocks content.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Create a single line code block with text long enough to require horizontal scrolling.
  2. The copy icon hides the last few letters

Expected behavior
Attach the copy icon to the outside of code blocks, or make it only visible when hovering over a code block.

Screenshots
grafik

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): v0.23.2
  • PHP Version: 7.0.30-0ubuntu0.16.04.1
  • Hosting Method (Nginx/Apache/Docker): Apache/2.4.18
Originally created by @watschi on GitHub (Aug 22, 2018). **Describe the bug** When using horizontal scrolling in code blocks, the copy icon hides the blocks content. **Steps To Reproduce** Steps to reproduce the behavior: 1. Create a single line code block with text long enough to require horizontal scrolling. 2. The copy icon hides the last few letters **Expected behavior** Attach the copy icon to the outside of code blocks, or make it only visible when hovering over a code block. **Screenshots** ![grafik](https://user-images.githubusercontent.com/26351931/44450108-5a44ea00-a5f0-11e8-893c-43c0c19066cf.png) **Your Configuration (please complete the following information):** - Exact BookStack Version (Found in settings): v0.23.2 - PHP Version: 7.0.30-0ubuntu0.16.04.1 - Hosting Method (Nginx/Apache/Docker): Apache/2.4.18
OVERLORD added the 🐛 Bug🎨 Design labels 2026-02-04 22:17:57 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Aug 23, 2018):

Thanks for reporting @watschi, Marked for next release.

@ssddanbrown commented on GitHub (Aug 23, 2018): Thanks for reporting @watschi, Marked for next release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#791