[wp-trac] [WordPress Trac] #56355: Twenty Twenty two button alignemnet issue when align right.
WordPress Trac
noreply at wordpress.org
Tue Aug 9 16:17:00 UTC 2022
#56355: Twenty Twenty two button alignemnet issue when align right.
------------------------------+------------------------------
Reporter: nidhidhandhukiya | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 6.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+------------------------------
Changes (by nidhidhandhukiya):
* keywords: => has-patch
Comment:
We can also solve this issue in gutenberg.
{{{
.wp-block-buttons:not(.is-content-justification-space-between,
.is-content-justification-right,
.is-content-justification-left,
.is-content-justification-center) .wp-block-button.alignright {
/* stylelint-enable indentation */
width: 100%;
text-align: right;
}
}}}
We just need to add this css in our scss file and need to build.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56355#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list