fix(1450): changed dash (#438)

keep-around/af30b88d367751c9e05a735e4a0467a96238ef47
Mirlan 4 years ago committed by GitHub
parent 183f0ff399
commit 5bc7188809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/features/MatchPage/components/MatchProfileCard/index.tsx
  2. 8
      src/features/MatchPage/components/MatchProfileCard/styled.tsx

@ -11,7 +11,6 @@ import {
Wrapper, Wrapper,
Team, Team,
Score, Score,
Dash,
StyledLink, StyledLink,
ScoreWrapper, ScoreWrapper,
Logo, Logo,
@ -51,7 +50,7 @@ export const MatchProfileCard = ({ profile }: Props) => {
<ScoreWrapper> <ScoreWrapper>
{ {
isScoreHidden isScoreHidden
? <Dash /> ? '-'
: ( : (
<Score> <Score>
{team1.score} - {team2.score} {team1.score} - {team2.score}

@ -47,14 +47,6 @@ export const StyledLink = styled(ProfileLink)`
} }
` `
export const Dash = styled.span`
display: inline-block;
margin-top: 5px;
width: 30px;
height: 3px;
background-color: white;
`
export const ScoreWrapper = styled.div` export const ScoreWrapper = styled.div`
margin: 0 10px; margin: 0 10px;
` `

Loading…
Cancel
Save