Skip to content

Commit 4994de9

Browse files
fix: unify font-family with paragon component styles (#598)
1 parent 6d90da7 commit 4994de9

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

src/discussions/common/AuthorLabel.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const AuthorLabel = ({
100100
{postCreatedAt && (
101101
<span
102102
title={postCreatedAt}
103-
className={classNames('font-family-inter align-content-center', {
103+
className={classNames('align-content-center', {
104104
'text-white': alert,
105105
'text-gray-500': !alert,
106106
})}

src/discussions/common/EndorsedAlertBanner.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const EndorsedAlertBanner = ({
4343
height: '20px',
4444
}}
4545
/>
46-
<strong className="ml-2 font-family-inter">
46+
<strong className="ml-2">
4747
{intl.formatMessage(isQuestion ? messages.answer : messages.endorsed)}
4848
</strong>
4949
</div>

src/index.scss

-7
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ $fa-font-path: "~font-awesome/fonts";
6565
font-style: normal !important;
6666
}
6767

68-
.font-family-inter {
69-
font-family: "Inter";
70-
}
71-
7268
.post-footer-icon-dimensions {
7369
width: 32px !important;
7470
height: 32px !important;
@@ -278,7 +274,6 @@ header {
278274

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

284279
.user-dropdown {
@@ -314,7 +309,6 @@ header {
314309

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

@@ -479,7 +473,6 @@ header {
479473
}
480474

481475
.font-style {
482-
font-family: "Inter";
483476
font-style: normal;
484477
}
485478

0 commit comments

Comments
 (0)