Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust drag element #247

Merged
merged 1 commit into from
Mar 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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