Skip to content

Commit

Permalink
Blocks: Rename BlockRightMenu into BlockSettingsMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Jun 22, 2017
1 parent f8c9ce4 commit e429998
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import { IconButton } from 'components';
*/
import './style.scss';

function BlockRightMenu( { onDelete } ) {
function BlockSettingsMenu( { onDelete } ) {
return (
<div className="editor-block-right-menu">
<div className="editor-block-settings-menu">
<IconButton
className="editor-block-right-menu__control"
className="editor-block-settings-menu__control"
onClick={ onDelete }
icon="trash"
label={ __( 'Delete the block' ) }
Expand All @@ -37,4 +37,4 @@ export default connect(
} );
},
} )
)( BlockRightMenu );
)( BlockSettingsMenu );
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.editor-block-right-menu {
.editor-block-settings-menu {
position: absolute;
top: 10px;
right: 0;
}

.editor-block-right-menu__control {
.editor-block-settings-menu__control {
display: block;
padding: 0;
border: none;
Expand Down
2 changes: 1 addition & 1 deletion editor/modes/visual-editor/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { getBlockType } from 'blocks';
* Internal dependencies
*/
import BlockMover from '../../block-mover';
import BlockRightMenu from '../../block-right-menu';
import BlockRightMenu from '../../block-settings-menu';
import BlockSwitcher from '../../block-switcher';
import {
focusBlock,
Expand Down

0 comments on commit e429998

Please sign in to comment.