Skip to:
Content

bbPress.org

Changeset 4986


Ignore:
Timestamp:
06/21/2013 01:44:51 AM (11 years ago)
Author:
johnjamesjacoby
Message:

When posting long single lines of code (meaning pre tags are not used to aid in formatting) they will break onto several lines if they are longer than the container element allows.

This changeset tweaks the CSS to allow code tags to scroll, and limit the width to 95%. Fixes #2350.

Location:
trunk/templates/default/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/default/css/bbpress-rtl.css

    r4944 r4986  
    329329#bbpress-forums div.bbp-reply-content pre {
    330330    font-family: Inconsolata, Consolas, Monaco, Lucida Console, monospace;
    331     display: inline;
     331    display: inline-block;
    332332    background-color: #f9f9f9;
    333333    border: 1px solid #ddd;
    334     padding: 2px;
     334    padding: 0 5px;
     335    overflow: scroll;
     336    max-width: 95%;
    335337}
    336338
  • trunk/templates/default/css/bbpress.css

    r4944 r4986  
    329329#bbpress-forums div.bbp-reply-content pre {
    330330    font-family: Inconsolata, Consolas, Monaco, Lucida Console, monospace;
    331     display: inline;
     331    display: inline-block;
    332332    background-color: #f9f9f9;
    333333    border: 1px solid #ddd;
    334     padding: 2px;
     334    padding: 0 5px;
     335    overflow: scroll;
     336    max-width: 95%;
    335337}
    336338
Note: See TracChangeset for help on using the changeset viewer.