Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
fix: improve contact cards layout overall (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadxali authored Aug 19, 2022
1 parent f844094 commit 117003b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions components/ContactCard/ContactCard.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}

.contentTitle {
@include tablet-only {
@include tablet-up {
display: flex;
}
}
Expand Down Expand Up @@ -39,8 +39,9 @@
.primaryContacts {
margin: 0 auto $spacing-3;

@include tablet-only {
@include tablet-up {
display: flex;
flex-wrap: wrap;
margin-bottom: 0;
}
}
Expand All @@ -58,15 +59,17 @@

.linkText {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
overflow-wrap: break-word;
font-weight: $font-weight-bold;
font-size: $font-size-labels;
}

.socials {
display: flex;

.link:last-child {
margin-right: 0;
}
}

.icon {
Expand All @@ -93,8 +96,7 @@
display: block;
margin-bottom: 0;
}

}

/* stylelint-enable max-nesting-depth */
}
}

3 comments on commit 117003b

@vercel
Copy link

@vercel vercel bot commented on 117003b Aug 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 117003b Aug 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 117003b Aug 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.