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

fix overlay rtl direction #93

Merged
merged 2 commits into from
Mar 1, 2024
Merged

fix overlay rtl direction #93

merged 2 commits into from
Mar 1, 2024

Conversation

jshawl
Copy link
Contributor

@jshawl jshawl commented Feb 28, 2024

This PR fixes an issue where RTL languages are not being displayed in the correct direction.

Before:

Screenshot 2024-02-28 at 12 10 53

After:
Screenshot 2024-02-28 at 12 09 00

@@ -178,6 +178,7 @@ export function Overlay({
<html>
<body>
<div
dir="auto"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link

codecov bot commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.21%. Comparing base (951a575) to head (4450cac).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #93   +/-   ##
=======================================
  Coverage   59.21%   59.21%           
=======================================
  Files           7        7           
  Lines         152      152           
  Branches       35       35           
=======================================
  Hits           90       90           
  Misses         52       52           
  Partials       10       10           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -193,7 +194,7 @@ export function Overlay({
)}
{!fullScreen && (
<div class="paypal-checkout-modal">
<div class="paypal-checkout-logo">
<div class="paypal-checkout-logo" dir="ltr">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the logo should always be left to right:
Screenshot 2024-01-24 at 6 09 00 PM

@jshawl jshawl marked this pull request as ready for review February 28, 2024 18:17
@jshawl jshawl requested a review from a team as a code owner February 28, 2024 18:17
Copy link
Contributor

@nbierdeman nbierdeman left a comment

Choose a reason for hiding this comment

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

🥇

@jshawl jshawl merged commit 510c404 into main Mar 1, 2024
3 checks passed
@jshawl jshawl deleted the fix-overlay-rtl branch March 1, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants