Skip to content

Commit

Permalink
fix: unify font-family with paragon component styles (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihor-romaniuk authored Nov 8, 2023
1 parent 6d90da7 commit 4994de9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/discussions/common/AuthorLabel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const AuthorLabel = ({
{postCreatedAt && (
<span
title={postCreatedAt}
className={classNames('font-family-inter align-content-center', {
className={classNames('align-content-center', {
'text-white': alert,
'text-gray-500': !alert,
})}
Expand Down
2 changes: 1 addition & 1 deletion src/discussions/common/EndorsedAlertBanner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const EndorsedAlertBanner = ({
height: '20px',
}}
/>
<strong className="ml-2 font-family-inter">
<strong className="ml-2">
{intl.formatMessage(isQuestion ? messages.answer : messages.endorsed)}
</strong>
</div>
Expand Down
7 changes: 0 additions & 7 deletions src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ $fa-font-path: "~font-awesome/fonts";
font-style: normal !important;
}

.font-family-inter {
font-family: "Inter";
}

.post-footer-icon-dimensions {
width: 32px !important;
height: 32px !important;
Expand Down Expand Up @@ -278,7 +274,6 @@ header {

header {
line-height: 28px;
font-family: Inter, Helvetica Neue, Arial, sans-serif;
font-size: 18px !important;

.user-dropdown {
Expand Down Expand Up @@ -314,7 +309,6 @@ header {

#courseTabsNavigation {
font-size: 18px !important;
font-family: Inter, Helvetica Neue, Arial, sans-serif;
z-index: 3;
background-color: #fff;

Expand Down Expand Up @@ -479,7 +473,6 @@ header {
}

.font-style {
font-family: "Inter";
font-style: normal;
}

Expand Down

0 comments on commit 4994de9

Please sign in to comment.