Opened 6 years ago
Closed 3 years ago
#5229 closed defect (bug) (wontfix)
Support forums: expanded code still has scrollbar
| Reported by: | joyously | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Support Forums | Keywords: | has-screenshots |
| Cc: |
Description
The recent addition of the Expand/Contract button for forum topics' code sections does not appear to take into account the horizontal scrollbar for long lines.
This leaves the vertical scrollbar still there for 1 line's worth.
An example is on https://wordpress.org/support/topic/get-user-roles-in-function/
See attached for how it looks in Firefox.
A similar formatting is done in the Code Reference, but the vertical scrollbar is not shown, as it is outside the code container. An example is on https://developer.wordpress.org/reference/functions/media_handle_sideload/
See attached for how it looks in Firefox.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Firefox shows both scrollbars of expanded code in forum topic