Skip to content

Commit 7027483

Browse files
committed
Fix support page RTL
1 parent a85bc5a commit 7027483

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/js/src/support/app.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const App = () => {
8383

8484
return (
8585
<div className="yst-p-4 min-[783px]:yst-p-8">
86-
<div className={ classNames( "yst-flex yst-flex-grow yst-flex-wrap", ! isPremium && "xl:yst-pr-[17.5rem]" ) }>
86+
<div className={ classNames( "yst-flex yst-flex-grow yst-flex-wrap", ! isPremium && "xl:yst-pe-[17.5rem]" ) }>
8787
<Paper as="main" className="yst-flex-grow yst-mb-8 xl:yst-mb-0">
8888
<Paper.Header>
8989
<div className="yst-max-w-screen-sm">
@@ -113,7 +113,7 @@ export const App = () => {
113113
target="_blank"
114114
>
115115
{ title }
116-
<ArrowNarrowRightIcon className="yst-inline-block yst-ml-1.5 yst-h-3 yst-w-3 yst-icon-rtl" />
116+
<ArrowNarrowRightIcon className="yst-inline-block yst-ms-1.5 yst-h-3 yst-w-3 yst-icon-rtl" />
117117
</Link>
118118
</li>
119119
</Fragment>
@@ -210,15 +210,15 @@ export const App = () => {
210210
{ ...premiumUpsellConfig }
211211
>
212212
<div className={ classNames( "yst-flex", ! isPremium && "yst-opacity-50" ) }>
213-
<div className="yst-mr-6">
213+
<div className="yst-me-6">
214214
<p>{ __( "Our support team is here to answer any questions you may have. Fill out the (pop-up) contact form, and we'll get back to you as soon as possible!", "wordpress-seo" ) }</p>
215215
<Button
216216
variant="secondary"
217217
className="yst-mt-4"
218218
onClick={ openHelpScoutBeacon }
219219
>
220220
{ __( "Contact our support team", "wordpress-seo" ) }
221-
<ArrowNarrowRightIcon className="yst-inline-block yst-ml-1.5 yst-h-3 yst-w-3 yst-icon-rtl" />
221+
<ArrowNarrowRightIcon className="yst-inline-block yst-ms-1.5 yst-h-3 yst-w-3 yst-icon-rtl" />
222222
</Button>
223223
</div>
224224
<img
@@ -236,7 +236,7 @@ export const App = () => {
236236
</Paper.Content>
237237
</Paper>
238238
{ ! isPremium &&
239-
<div className="xl:yst-max-w-3xl xl:yst-fixed xl:yst-right-8 xl:yst-w-[16rem]">
239+
<div className="xl:yst-max-w-3xl xl:yst-fixed xl:yst-end-8 xl:yst-w-[16rem]">
240240
<SidebarRecommendations
241241
premiumLink={ premiumLink }
242242
premiumUpsellConfig={ premiumUpsellConfig }

packages/js/src/support/components/resource-card.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const ResourceCard = ( { imageSrc, title, description, linkHref, linkText
4141
__( "(Opens in a new browser tab)", "wordpress-seo" )
4242
}
4343
</span>
44-
<ArrowSmRightIcon className="yst-h-4 yst-w-4 yst-ml-1 yst-icon-rtl" />
44+
<ArrowSmRightIcon className="yst-h-4 yst-w-4 yst-ms-1 yst-icon-rtl" />
4545
</Link>
4646
</Card>
4747
);

0 commit comments

Comments
 (0)