mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Twenty Twenty: Improve Separator Block rendering.
This changeset fixes inconsistent alignment behavior of the Separator Block in the editor. Props kmadhak, sabernhardt, mukesh27, nidhidhandhukiya, kajalgohel. Fixes #55910. git-svn-id: https://develop.svn.wordpress.org/trunk@54418 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -619,12 +619,15 @@ hr.wp-block-separator:not(.is-style-dots)::after {
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator::before {
|
||||
.editor-styles-wrapper hr.wp-block-separator::before {
|
||||
right: calc(50% - 5px);
|
||||
left: auto;
|
||||
}
|
||||
|
||||
hr.wp-block-separator::after {
|
||||
.editor-styles-wrapper hr.wp-block-separator::after {
|
||||
left: calc(50% - 5px);
|
||||
right: auto;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
/* STYLE: DOTS */
|
||||
|
||||
@@ -623,12 +623,15 @@ hr.wp-block-separator:not(.is-style-dots)::after {
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
hr.wp-block-separator::before {
|
||||
.editor-styles-wrapper hr.wp-block-separator::before {
|
||||
left: calc(50% - 5px);
|
||||
right: auto;
|
||||
}
|
||||
|
||||
hr.wp-block-separator::after {
|
||||
.editor-styles-wrapper hr.wp-block-separator::after {
|
||||
right: calc(50% - 5px);
|
||||
left: auto;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
/* STYLE: DOTS */
|
||||
|
||||
Reference in New Issue
Block a user