Skip to content

Commit

Permalink
Merge pull request #247 from WordPress/update/tinymce-single/mock-ups
Browse files Browse the repository at this point in the history
Adjust drag element
  • Loading branch information
ellatrix authored Mar 11, 2017
2 parents 7c9069f + fa065b4 commit adbc2bd
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tinymce-single/tinymce/block.css
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,10 @@ div.mce-inline-toolbar-grp.block-toolbar > div.mce-stack-layout {
outline: 2px solid #e0e5e9;
outline-offset: 8px;
background: #fff;
box-shadow: 0 0 0 8px #fff;
box-shadow:
0 0 0 8px #fff,
0px 13px 40px rgba( 18, 24, 30, .1 ),
0px 11px 23px rgba( 18, 24, 30, .1 );
}

.block-outline:before {
Expand All @@ -260,7 +263,7 @@ div.mce-inline-toolbar-grp.block-toolbar > div.mce-stack-layout {

.block-outline-handle {
position: absolute;
width: 10px;
width: 20px;
top: 0;
bottom: 0;
cursor: move; /* fallback if grab cursor is unsupported */
Expand All @@ -271,11 +274,11 @@ div.mce-inline-toolbar-grp.block-toolbar > div.mce-stack-layout {
}

.block-outline-handle-left {
left: -10px;
left: -20px;
}

.block-outline-handle-right {
right: -10px;
right: -20px;
}

#editor *[data-wp-block-dragging] {
Expand Down

0 comments on commit adbc2bd

Please sign in to comment.