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

Align separator to center when Align-center option is set in editor #5097

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

aslamdoctor
Copy link

Trac ticket: 59204


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

Copy link
Member

@mukeshpanchal27 mukeshpanchal27 left a comment

Choose a reason for hiding this comment

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

Thanks @aslamdoctor for the PR. Left some feedback other then it ready to go.

@@ -726,6 +726,11 @@
display: none;
}
}

&.aligncenter{
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
&.aligncenter{
&.aligncenter {

Add missing space.

Copy link
Author

Choose a reason for hiding this comment

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

This is done and pushed

@include media(tablet) {
width: calc( 100% + #{$size__spacing-unit * 2} );
max-width: calc( 100% + #{$size__spacing-unit * 2} );
margin-left: -#{$size__spacing-unit};
}
}
}

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Copy link
Author

Choose a reason for hiding this comment

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

This is done and pushed

@mukeshpanchal27
Copy link
Member

@sabernhardt, could you please take a look when you have a moment?

@mukeshpanchal27
Copy link
Member

Thank you, @aslamdoctor, for the update. It seems that the commit at 59f4019 includes some unnecessary changes. Could you please remove them?

@aslamdoctor
Copy link
Author

Thank you, @aslamdoctor, for the update. It seems that the commit at 59f4019 includes some unnecessary changes. Could you please remove them?

Thanks for the heads-up. I have reverted those unnecessary changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants