Skip to content

Commit

Permalink
Merge pull request #332 from AppQuality/remove-border-radiuses-transc…
Browse files Browse the repository at this point in the history
…ript

removed border radius from highlighted word
  • Loading branch information
marcbon authored May 9, 2024
2 parents c1446ef + 88bf48c commit d955c2c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/stories/highlight/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ const StyledWord = styled(ZendeskSpan)<
const ActiveWord = styled.span`
background-color: ${({ theme }) =>
getColor(theme.palette.fuschia, 700, undefined, 0.5)};
border-radius: ${({ theme }) => theme.borderRadii.lg};
padding: 0 2px;
`;

Expand All @@ -48,16 +47,6 @@ const WordsContainer = styled.div`
getColor(theme.palette.kale, 700, undefined, 0.5)};
}
}
observation:first-of-type {
border-top-left-radius: ${({ theme }) => theme.borderRadii.lg};
border-bottom-left-radius: ${({ theme }) => theme.borderRadii.lg};
}
observation:last-of-type {
border-top-right-radius: ${({ theme }) => theme.borderRadii.lg};
border-bottom-right-radius: ${({ theme }) => theme.borderRadii.lg};
}
`;

/**
Expand Down

0 comments on commit d955c2c

Please sign in to comment.