mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
TinyMCE: Fix styling of selected state for linked images containing captions.
Props azaozz. Fixes #41408. git-svn-id: https://develop.svn.wordpress.org/trunk@41141 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
029ce05801
commit
cacfda71c4
@ -101,8 +101,9 @@ img {
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.wp-caption img {
|
||||
display: block;
|
||||
dl.wp-caption dt.wp-caption-dt img {
|
||||
display: inline-block;
|
||||
margin-bottom: -1ex;
|
||||
}
|
||||
|
||||
div.mceTemp {
|
||||
@ -180,6 +181,14 @@ img[data-mce-selected]::selection {
|
||||
background: #bfe6ff;
|
||||
}
|
||||
|
||||
.mce-content-body .wp-caption-dt a[data-mce-selected] {
|
||||
outline: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-shadow: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.mce-content-body code {
|
||||
padding: 2px 4px;
|
||||
margin: 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user