Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Commit

Permalink
Fix hidden text in non-css view
Browse files Browse the repository at this point in the history
Signed-off-by: Einstein <[email protected]>
  • Loading branch information
EinsteinNjoroge committed Jan 28, 2020
1 parent 7d7ed10 commit 81e3ad9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,12 @@ exports[`ProgramCard should render correctly for live 1`] = `
lang="en-GB"
>
Live
,
,
</span>
<span
class=""
>
Could a computer ever create better art than a human?
</span>
<span
Expand Down Expand Up @@ -485,11 +486,12 @@ exports[`ProgramCard should render correctly for next 1`] = `
<span
class="c4"
>
,
,
</span>
<span
class=""
>
Could a computer ever create better art than a human?
</span>
<span
Expand Down Expand Up @@ -1037,11 +1039,12 @@ exports[`ProgramCard should render correctly in RTL 1`] = `
class="c5"
>
مباشر
,
,
</span>
<span
class=""
>
لماذا يخجل البعض من اسم قريته في مصر؟
</span>
<span
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,14 @@ const renderHeaderContent = ({
</LabelWrapper>
<VisuallyHiddenText {...hiddenTextProps}>
{isLive && ` ${sentenceCase(stateLabel)}`}
{', '}
{','}
</VisuallyHiddenText>
</>
)}
<StyledSpan>{brandTitle}</StyledSpan>
<StyledSpan>
{!isOnDemand && ` `}
{brandTitle}
</StyledSpan>
<VisuallyHiddenText>, {startTime}, </VisuallyHiddenText>
<TitleWrapper
service={service}
Expand Down

0 comments on commit 81e3ad9

Please sign in to comment.