Bug 160467

Summary: [NEWHELP] CSS issue with Help pages for prism code colorize
Product: LibreOffice Reporter: Olivier Hallot <olivier.hallot>
Component: DocumentationAssignee: Juan José <juanjosegzl>
Status: RESOLVED FIXED    
Severity: normal CC: juanjosegzl, olivier.hallot
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard: target:24.8.0 target:24.2.3 target:7.6.7
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 97629    
Attachments: The code in BASIC does not scroll under the page header. It should.

Description Olivier Hallot 2024-04-01 19:10:11 UTC
Created attachment 193425 [details]
The code in BASIC does not scroll under the page header. It should.

Prism is used to colorize BASIC and other code languages in our Help pages

https://prismjs.com/

Step to reproduce

1) open an (online) help page, for example 
https://help.libreoffice.org/master/en-US/text/sbasic/shared/03131000.html?&DbPAR=BASIC&System=UNIX

2) scroll page down

Actual results
- The BASIC code overlaps the page header, hiding the search text area.

Expected result
- The BASIC code should be scrolling under the page header.

The attached image shows the issue.
Comment 1 Dione Maddern 2024-04-03 19:47:28 UTC
I'm seeing this behavior too.
Comment 2 Juan José 2024-04-04 02:05:23 UTC
Change to fix it:

https://gerrit.libreoffice.org/c/help/+/165768
Comment 3 Commit Notification 2024-04-04 09:11:05 UTC
Juan José González committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/c89178e82abacbb240e571fcbd9bd0f76b40642d

tdf#160467 Remove z-index in prism code block
Comment 4 Commit Notification 2024-04-04 09:14:09 UTC
Juan José González committed a patch related to this issue.
It has been pushed to "libreoffice-24-2":

https://git.libreoffice.org/help/commit/91db109b1642a1e8337dde38d76c492882a13de8

tdf#160467 Remove z-index in prism code block
Comment 5 Commit Notification 2024-04-04 10:21:19 UTC
Juan José González committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/help/commit/c6d3ab55898217c994d232df5ac14f7e0f4ec8c6

tdf#160467 Remove z-index in prism code block
Comment 6 Olivier Hallot 2024-04-07 09:58:39 UTC
*** Bug 160572 has been marked as a duplicate of this bug. ***