Skip to content

Commit

Permalink
removed border radius from highlighted word
Browse files Browse the repository at this point in the history
  • Loading branch information
iDome89 committed May 9, 2024
1 parent c1446ef commit 88bf48c
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 88bf48c

Please sign in to comment.