Make WordPress Core

Changeset 41142


Ignore:
Timestamp:
07/25/2017 02:20:25 AM (8 years ago)
Author:
westonruter
Message:

TinyMCE: Fix styling of selected state for linked images containing captions.

Merges [41141] onto 4.8 branch.
Props azaozz.
Fixes #41408 for 4.8.1.

Location:
branches/4.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.8

  • branches/4.8/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css

    r40783 r41142  
    102102}
    103103
    104 .wp-caption img {
    105     display: block;
     104dl.wp-caption dt.wp-caption-dt img {
     105    display: inline-block;
     106    margin-bottom: -1ex;
    106107}
    107108
     
    181182}
    182183
     184.mce-content-body .wp-caption-dt a[data-mce-selected] {
     185    outline: none;
     186    padding: 0;
     187    margin: 0;
     188    box-shadow: none;
     189    background: transparent;
     190}
     191
    183192.mce-content-body code {
    184193    padding: 2px 4px;
Note: See TracChangeset for help on using the changeset viewer.