Skip to content

Commit

Permalink
fix: overflow for contact box
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelbr committed Dec 9, 2024
1 parent 2bfff89 commit 85af1d6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/employeeCard/employeeCard.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
flex-direction: column;
justify-content: space-between;
gap: 0.375rem;

overflow: hidden;
}

.contactInfo {
Expand All @@ -27,6 +29,12 @@
.employeePhone a {
color: currentColor;
}
.employeeEmail a {
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.employeeWrapper {
container-type: inline-size;
Expand Down

0 comments on commit 85af1d6

Please sign in to comment.