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 for RTL languages - Profile panel + weather forecast card #18191

Merged
merged 5 commits into from
Oct 12, 2023
Merged

Conversation

tzagim
Copy link
Contributor

@tzagim tzagim commented Oct 11, 2023

Proposed change

Added design compatibility for RTL languages for Profile panel and weather card

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

Fix temp location on weather card for RTL languages, Attached Image.
Before:
Before
After:
After

Profile:
bug

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

@tzagim tzagim changed the title Fix for rtl - hui-weather-forecast-card.ts Fix for RTL languages - Profile panel + weather forecast card Oct 11, 2023
@@ -250,6 +250,7 @@ class HaPanelProfile extends LitElement {
max-width: 600px;
margin: 0 auto;
padding-bottom: env(safe-area-inset-bottom);
overflow: hidden;
Copy link
Member

Choose a reason for hiding this comment

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

I see this issue and that this fixes it, I just have a hard time understanding why it happens, and why only in rtl...

@bramkragten bramkragten merged commit 6686da1 into home-assistant:dev Oct 12, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Oct 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants