Fix padding in compositor for RTL langauges #6410
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Contributor checklist:
main
branchyarn ready
run passes successfully (more about tests here)Description
Padding is missing in compositor for RTL languages.
Wrong:
![image](https://private-user-images.githubusercontent.com/4103710/237480688-95ad26ce-8e2e-4d7d-8d28-61758c85c6c7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3NzQ5MDYsIm5iZiI6MTcyMTc3NDYwNiwicGF0aCI6Ii80MTAzNzEwLzIzNzQ4MDY4OC05NWFkMjZjZS04ZTJlLTRkN2QtOGQyOC02MTc1OGM4NWM2YzcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjNUMjI0MzI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjM3YjIzYzdlNjFkNjIxZGNiZGNhNDA4MjBlYmVmMDkyMjM0ZDQ5ZjA1MTNhMTExMDlmODRhNTg4ZjM4ZmUxMiZYLUFtei1TaWduZWRIZWFkZX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