Skip to content

Commit

Permalink
Live Radio rtl temp fix (#11981)
Browse files Browse the repository at this point in the history
* Live Radio `rtl` temp fix

* Snapshot updates
  • Loading branch information
amoore108 authored Sep 17, 2024
1 parent bf20723 commit 6626c26
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/components/MediaLoader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ const MediaContainer = ({
? styles.liveRadioMediaContainer
: styles.mediaContainer
}
// Temporary fix for live radio players not displaying correctly in RTL languages
{...(mediaType === 'liveRadio' && { dir: 'ltr' })}
/>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ exports[`Canonical Live Radio Media Loader renders a valid container 1`] = `
<div
class="bbc-1eq7znh"
data-e2e="media-player"
dir="ltr"
/>
</figure>
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ exports[`Canonical Korean Live Radio Page Media Loader renders a valid container
<div
class="bbc-1eq7znh"
data-e2e="media-player"
dir="ltr"
/>
</figure>
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ exports[`Canonical Sinhala Live Radio Page Media Loader renders a valid containe
<div
class="bbc-1eq7znh"
data-e2e="media-player"
dir="ltr"
/>
</figure>
`;
Expand Down

0 comments on commit 6626c26

Please sign in to comment.