Making WordPress.org

Changeset 2362


Ignore:
Timestamp:
01/25/2016 07:18:59 PM (6 years ago)
Author:
samuelsidler
Message:

Codex: Add pre-wrap to diffs so white space changes are easier to see.

Props @mikemanger.
Fixes #448.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/style/codex-wp4.css

    r1863 r2362  
    188188td.diff-otitle { background:#ffffff; }
    189189td.diff-ntitle { background:#ffffff; }
    190 td.diff-addedline {
    191     background:#ccffcc;
    192     font-size: smaller;
    193 }
    194 td.diff-deletedline {
    195     background:#ffffaa;
    196     font-size: smaller;
    197 }
     190td.diff-addedline,
     191td.diff-deletedline,
    198192td.diff-context {
    199     background:#eeeeee;
    200     font-size: smaller;
    201 }
     193    white-space: pre-wrap;
     194    font-size: smaller;
     195}
     196td.diff-addedline { background:#ccffcc; }
     197td.diff-deletedline { background:#ffffaa; }
     198td.diff-context { background:#eeeeee; }
    202199span.diffchange { color: red; font-weight: bold; }
    203200
Note: See TracChangeset for help on using the changeset viewer.