Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Nov 15, 2024
1 parent aabb233 commit 9abb575
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions client/src/pages/home/components/item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,12 @@ const AllContributions: React.FC<AllContributionsProps & { query: string }> = ({
} else badgeContent = "Contact";

return (
<Row gutters key={index} className="email-row">
<Link href={link} rel="noopener noreferrer">
<Row gutters key={index}>
<Link
href={link}
rel="noopener noreferrer"
className="email-content"
>
<Col lg="12" md="10" sm="12" className="email-item fr-mb-2w">
<div>
{badgeContent && (
Expand Down Expand Up @@ -133,7 +137,6 @@ const AllContributions: React.FC<AllContributionsProps & { query: string }> = ({
</i>
</Text>
<Text
className="email-content"
size="sm"
dangerouslySetInnerHTML={{
__html: highlightQuery(email?.message, query),
Expand Down
3 changes: 2 additions & 1 deletion client/src/pages/home/components/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
padding: 1.5rem;
border-radius: 8px;
margin-top: 1rem;
border-bottom: 3px solid #f0f0f0;
}

.email-content {
word-wrap: break-word;
overflow-wrap: break-word;
word-break: break-all;
width: 100%;
border-bottom: 13px solid #f0f0f0;
}

.copy-button {
Expand Down

0 comments on commit 9abb575

Please sign in to comment.