Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Amina/ social_icons_text_update #6653

Merged
merged 3 commits into from
Jul 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/sass/_common/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,9 @@ li strong.margin-right {
font-weight: 400;
padding-left: 1rem;
}
.text-capitalize {
text-transform: capitalize !important;
}

@media screen and (max-width: 650px) {
width: 150px;
Expand Down
2 changes: 1 addition & 1 deletion src/templates/_common/components/elements.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,6 @@ export const Button = ({

export const SocialButton = ({ provider }) => (
<a id={`button_${provider}`} href='javascript:;' className='button-social'>
<span className='name'>{provider}</span>
<span className='name text-capitalize'>{provider}</span>
</a>
);