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

Inserter: Remove duplicated and simplify sibling inserter styles #3705

Merged
merged 2 commits into from
Nov 30, 2017

Conversation

aduth
Copy link
Member

@aduth aduth commented Nov 28, 2017

Related: #3546

This pull request seeks to eliminate duplicated styles which were left-over in VisualEditor styles after BlockList was extracted to a separate component in #3546. Further, it simplifies width styling of the sibling inserter to not assume visual editor width, but instead apply padded centering via margins. This eliminates the implicit dependency between block list and visual editor, and is more accommodating to other inserter contexts (nesting).

Testing instructions:

Verify that there are no visual regressions in the display of the block list inserter, for inserting between blocks, and when using the global and end-of-content inserters.

@aduth aduth added the [Feature] Inserter The main way to insert blocks using the + button in the editing interface label Nov 28, 2017
Copy link
Member

@noisysocks noisysocks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Code looks good and the inserter looks and behaves well.

@aduth aduth force-pushed the remove/block-inserter-duplication branch from 57dbfd5 to 5cfbff4 Compare November 30, 2017 13:17
@aduth aduth merged commit 08f2df8 into master Nov 30, 2017
@aduth aduth deleted the remove/block-inserter-duplication branch November 30, 2017 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Inserter The main way to insert blocks using the + button in the editing interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants