Make WordPress Core

Changeset 45692


Ignore:
Timestamp:
07/28/2019 04:08:47 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Administration: Allow breaking long strings in <code> tags at any point, to avoid overflowing on mobile.

Props david.binda, mukesh27.
Fixes #47329.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r45563 r45692  
    37923792        code {
    37933793                word-wrap: break-word;
     3794                word-wrap: anywhere; /* Firefox. Allow breaking long words anywhere */
     3795                word-break: break-word; /* Webkit: Treated similarly to word-wrap: break-word */
    37943796        }
    37953797
Note: See TracChangeset for help on using the changeset viewer.