Bug 160467 - [NEWHELP] CSS issue with Help pages for prism code colorize
Summary: [NEWHELP] CSS issue with Help pages for prism code colorize
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Juan José
URL:
Whiteboard: target:24.8.0 target:24.2.3 target:7.6.7
Keywords:
: 160572 (view as bug list)
Depends on:
Blocks: New-Help
  Show dependency treegraph
 
Reported: 2024-04-01 19:10 UTC by Olivier Hallot
Modified: 2024-04-07 11:01 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
The code in BASIC does not scroll under the page header. It should. (48.94 KB, image/png)
2024-04-01 19:10 UTC, Olivier Hallot
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***