Opened 2 years ago
Closed 2 years ago
#6392 closed defect (bug) (duplicate)
pre tag broken in theme preview in themes directory - blog themes
Reported by: | benimub | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Theme Directory | Keywords: | theme-preview |
Cc: |
Description
When you preview blog themes in the theme's repo, the content in pre tag is showing scroll. We can fix it by adding a line of CSS.
If you click on the 'Davis Blocks' theme preview. You can see the scroll bar directly. This is caused by the pre tag.
Broken screenshot: theme-preview-broken.jpg
Fixed screenshot: theme-preview-fixed.jpg
Fixed with code screenshot: theme-preview-fixed-code.jpg
Attachments (3)
Change History (5)
Note: See
TracTickets for help on using
tickets.
you can add this code in style.css
I have added white-space: normal;