Opened 8 years ago
Closed 8 years ago
#1924 closed defect (bug) (fixed)
Restore vertical scrolling for large code samples on support forums
Reported by: | SergeyBiryukov | Owned by: | netweb |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | International Forums | Keywords: | has-patch |
Cc: |
Description (last modified by )
Previously, large code samples on support forums had both horizontal and vertical scrolling. (We do recommend using Pastebin or similar services for large samples, but most users still just paste them on the forums as is.)
After the upgrade to bbPress 2.x, the samples have horizontal scrolling, but the height is not limited, which makes it harder to browse the thread.
Adding max-height
for the <code>
element should fix it:
#bbpress-forums div.bbp-reply-content pre code, #bbpress-forums div.bbp-topic-content pre code { max-height: 40em; }
Attachments (2)
Change History (8)
This ticket was mentioned in Slack in #buddypress by netweb. View the logs.
8 years ago
Note: See
TracTickets for help on using
tickets.
I've asked in #BuddyPress if they'd like to see this change on https://buddypress.org/support, I think it is a great improvement, to that end 1924-bb.diff would implement the fix network wide for all instances of bbPress 2.x forums on w.org networks using the bb-base theme.
Screenshot https://cloudup.com/cnryZ6oyENm