Skip to content

Commit

Permalink
Merge pull request #2192 from MahtabBukhari/hash_tag_should_be_in_fro…
Browse files Browse the repository at this point in the history
…nt_of_first_line_of_trending_topic_text

# Tag should be in front of first line for a lengthy trending topics according to Figma
  • Loading branch information
Rassl authored Oct 17, 2024
2 parents cc07571 + be05864 commit 75b81df
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/App/SideBar/Trending/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,9 @@ export const Trending = () => {
}

const Paragraph = styled.div`
position: relative;
display: flex;
align-items: center;
align-items: flex-start;
width: 300px;
span.tldr {
Expand All @@ -244,6 +245,7 @@ const Paragraph = styled.div`
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
letter-spacing: 0.3pt;
padding-left: 20px;
}
`

Expand Down Expand Up @@ -335,6 +337,10 @@ const StyledTLDRButton = styled(Button)`
`

const IconWrapper = styled.span`
position: absolute;
top: 6px;
left: 0;
display: flex;
justify-content: center;
align-items: center;
color: ${colors.GRAY6};
Expand Down

0 comments on commit 75b81df

Please sign in to comment.