RTL languages translation for NPT #8664
Labels
P2
Low priority
Squad 2 (Team M)
Issues for Squad 2
Type: Enhancement
Improvement of an existing feature
Bug Description
When testing in RTL language, the 'Powered by Site Kit' is not properly aligned.
Steps to reproduce
wp-admin/authorize-application.php?app_name=GoogleServiceIntegration&app_id=123e4567-e89b-12d3-a456-426614174000&success_url=https%3A%2F%2Fpublishers.google.com%2Fsettings%2Fauthorization%2Fwordpress&sitekit=true
Screenshots
Currently, the 'Powered by Site Kit' string is here and I think this should be moved to the left to mirror the WordPress version alignment:
For reference, stock styling looks like this:
Additional Context
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
In
assets/sass/authorize-application/_googlesitekit-authorize-application.scss
:.googlesitekit-authorize-application__footer
within thehtml[dir="rtl"]
selector:left: auto
to remove the left positioning.right: 0
to align the text to the right.margin-right: 36px
to reverse the margin applied to the left side in LTR for the smaller screen sizes.$width-desktop + 1 + px
), setmargin-right: 160px
to reverse the margin applied to the left side in LTR.Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: