diff --git a/app/javascript/mastodon/features/compose/components/upload_progress.js b/app/javascript/mastodon/features/compose/components/upload_progress.js
index d5e6f19cd..949989b26 100644
--- a/app/javascript/mastodon/features/compose/components/upload_progress.js
+++ b/app/javascript/mastodon/features/compose/components/upload_progress.js
@@ -21,7 +21,7 @@ export default class UploadProgress extends React.PureComponent {
return (
-
+
diff --git a/app/javascript/mastodon/features/compose/index.js b/app/javascript/mastodon/features/compose/index.js
index 6f1b9b71d..398e1fc97 100644
--- a/app/javascript/mastodon/features/compose/index.js
+++ b/app/javascript/mastodon/features/compose/index.js
@@ -76,21 +76,21 @@ class Compose extends React.PureComponent {
const { columns } = this.props;
header = (
);
}
diff --git a/app/javascript/mastodon/features/getting_started/index.js b/app/javascript/mastodon/features/getting_started/index.js
index d5ba5cbce..4fbe7ed5a 100644
--- a/app/javascript/mastodon/features/getting_started/index.js
+++ b/app/javascript/mastodon/features/getting_started/index.js
@@ -120,7 +120,7 @@ class GettingStarted extends ImmutablePureComponent {
{multiColumn &&
diff --git a/app/javascript/mastodon/features/list_editor/components/search.js b/app/javascript/mastodon/features/list_editor/components/search.js
index f7617fe58..24f2c7d5d 100644
--- a/app/javascript/mastodon/features/list_editor/components/search.js
+++ b/app/javascript/mastodon/features/list_editor/components/search.js
@@ -65,8 +65,8 @@ class Search extends React.PureComponent {
-
-
+
+
);
diff --git a/app/javascript/mastodon/features/list_timeline/index.js b/app/javascript/mastodon/features/list_timeline/index.js
index 55f675cd3..78ea7624a 100644
--- a/app/javascript/mastodon/features/list_timeline/index.js
+++ b/app/javascript/mastodon/features/list_timeline/index.js
@@ -150,11 +150,11 @@ class ListTimeline extends React.PureComponent {
>
diff --git a/app/javascript/mastodon/features/notifications/components/clear_column_button.js b/app/javascript/mastodon/features/notifications/components/clear_column_button.js
index e0bf4c82d..ea1249e86 100644
--- a/app/javascript/mastodon/features/notifications/components/clear_column_button.js
+++ b/app/javascript/mastodon/features/notifications/components/clear_column_button.js
@@ -10,7 +10,7 @@ export default class ClearColumnButton extends React.PureComponent {
render () {
return (
-
+
);
}
diff --git a/app/javascript/mastodon/features/notifications/components/notification.js b/app/javascript/mastodon/features/notifications/components/notification.js
index ed4a44ca6..c256661af 100644
--- a/app/javascript/mastodon/features/notifications/components/notification.js
+++ b/app/javascript/mastodon/features/notifications/components/notification.js
@@ -83,7 +83,7 @@ class Notification extends ImmutablePureComponent {
-
+
@@ -116,7 +116,7 @@ class Notification extends ImmutablePureComponent {
@@ -135,7 +135,7 @@ class Notification extends ImmutablePureComponent {
diff --git a/app/javascript/mastodon/features/pinned_statuses/index.js b/app/javascript/mastodon/features/pinned_statuses/index.js
index 98cdbda3c..298d0f8c5 100644
--- a/app/javascript/mastodon/features/pinned_statuses/index.js
+++ b/app/javascript/mastodon/features/pinned_statuses/index.js
@@ -46,7 +46,7 @@ class PinnedStatuses extends ImmutablePureComponent {
const { intl, shouldUpdateScroll, statusIds, hasMore } = this.props;
return (
-
+
diff --git a/app/javascript/mastodon/features/status/components/detailed_status.js b/app/javascript/mastodon/features/status/components/detailed_status.js
index b4bbda161..7f5d50743 100644
--- a/app/javascript/mastodon/features/status/components/detailed_status.js
+++ b/app/javascript/mastodon/features/status/components/detailed_status.js
@@ -94,10 +94,10 @@ export default class DetailedStatus extends ImmutablePureComponent {
}
if (status.get('visibility') === 'private') {
- reblogLink =
;
+ reblogLink =
;
} else {
reblogLink = (
-
+
@@ -119,7 +119,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
{applicationLink} · {reblogLink} ·
-
+
diff --git a/app/javascript/mastodon/features/status/index.js b/app/javascript/mastodon/features/status/index.js
index 7d1bc2ca4..a9fe4c885 100644
--- a/app/javascript/mastodon/features/status/index.js
+++ b/app/javascript/mastodon/features/status/index.js
@@ -410,7 +410,7 @@ class Status extends ImmutablePureComponent {
+
)}
/>
diff --git a/app/javascript/mastodon/features/ui/components/boost_modal.js b/app/javascript/mastodon/features/ui/components/boost_modal.js
index b128e67d2..f20ea4c36 100644
--- a/app/javascript/mastodon/features/ui/components/boost_modal.js
+++ b/app/javascript/mastodon/features/ui/components/boost_modal.js
@@ -74,7 +74,7 @@ class BoostModal extends ImmutablePureComponent {
-
Shift + }} />
+
Shift + }} />
diff --git a/app/javascript/mastodon/features/ui/components/column_header.js b/app/javascript/mastodon/features/ui/components/column_header.js
index e8bdd8054..db544b7d6 100644
--- a/app/javascript/mastodon/features/ui/components/column_header.js
+++ b/app/javascript/mastodon/features/ui/components/column_header.js
@@ -21,7 +21,7 @@ export default class ColumnHeader extends React.PureComponent {
let iconElement = '';
if (icon) {
- iconElement =
;
+ iconElement =
;
}
return (
diff --git a/app/javascript/mastodon/features/ui/components/column_link.js b/app/javascript/mastodon/features/ui/components/column_link.js
index 25c2d1cf8..f6bb4f6f6 100644
--- a/app/javascript/mastodon/features/ui/components/column_link.js
+++ b/app/javascript/mastodon/features/ui/components/column_link.js
@@ -8,7 +8,7 @@ const ColumnLink = ({ icon, text, to, href, method, badge }) => {
if (href) {
return (
-
+
{text}
{badgeElement}
@@ -16,7 +16,7 @@ const ColumnLink = ({ icon, text, to, href, method, badge }) => {
} else {
return (
-
+
{text}
{badgeElement}
diff --git a/app/javascript/mastodon/features/ui/components/columns_area.js b/app/javascript/mastodon/features/ui/components/columns_area.js
index 4cce2f6e0..f3ba3ba13 100644
--- a/app/javascript/mastodon/features/ui/components/columns_area.js
+++ b/app/javascript/mastodon/features/ui/components/columns_area.js
@@ -160,7 +160,7 @@ class ColumnsArea extends ImmutablePureComponent {
this.pendingIndex = null;
if (singleColumn) {
- const floatingActionButton = shouldHideFAB(this.context.router.history.location.pathname) ? null :
;
+ const floatingActionButton = shouldHideFAB(this.context.router.history.location.pathname) ? null :
;
return columnIndex !== -1 ? [
diff --git a/app/javascript/mastodon/features/ui/components/media_modal.js b/app/javascript/mastodon/features/ui/components/media_modal.js
index d29a4a6a7..9aa336e37 100644
--- a/app/javascript/mastodon/features/ui/components/media_modal.js
+++ b/app/javascript/mastodon/features/ui/components/media_modal.js
@@ -108,8 +108,8 @@ class MediaModal extends ImmutablePureComponent {
const index = this.getIndex();
let pagination = [];
- const leftNav = media.size > 1 && ;
- const rightNav = media.size > 1 && ;
+ const leftNav = media.size > 1 && ;
+ const rightNav = media.size > 1 && ;
if (media.size > 1) {
pagination = media.map((item, i) => {
diff --git a/app/javascript/mastodon/features/ui/components/onboarding_modal.js b/app/javascript/mastodon/features/ui/components/onboarding_modal.js
index 25241bcd0..3688d9412 100644
--- a/app/javascript/mastodon/features/ui/components/onboarding_modal.js
+++ b/app/javascript/mastodon/features/ui/components/onboarding_modal.js
@@ -262,11 +262,11 @@ class OnboardingModal extends React.PureComponent {
const nextOrDoneBtn = hasMore ? (
) : (
);
diff --git a/app/javascript/mastodon/features/ui/components/tabs_bar.js b/app/javascript/mastodon/features/ui/components/tabs_bar.js
index 16236ea51..3f2e5478a 100644
--- a/app/javascript/mastodon/features/ui/components/tabs_bar.js
+++ b/app/javascript/mastodon/features/ui/components/tabs_bar.js
@@ -6,14 +6,14 @@ import { debounce } from 'lodash';
import { isUserTouching } from '../../../is_mobile';
export const links = [
- ,
- ,
+ ,
+ ,
- ,
- ,
- ,
+ ,
+ ,
+ ,
- ,
+ ,
];
export function getIndex (path) {
diff --git a/app/javascript/mastodon/features/video/index.js b/app/javascript/mastodon/features/video/index.js
index 67f7580b9..9ef098605 100644
--- a/app/javascript/mastodon/features/video/index.js
+++ b/app/javascript/mastodon/features/video/index.js
@@ -353,10 +353,10 @@ class Video extends React.PureComponent {
-
-
+
+
- {!onCloseVideo && }
+ {!onCloseVideo && }
{(detailed || fullscreen) &&
@@ -368,9 +368,9 @@ class Video extends React.PureComponent {
- {(!fullscreen && onOpenVideo) && }
- {onCloseVideo && }
-
+ {(!fullscreen && onOpenVideo) && }
+ {onCloseVideo && }
+
diff --git a/app/javascript/styles/mastodon/about.scss b/app/javascript/styles/mastodon/about.scss
index dc456be3e..06a5f83d1 100644
--- a/app/javascript/styles/mastodon/about.scss
+++ b/app/javascript/styles/mastodon/about.scss
@@ -1113,7 +1113,7 @@ $small-breakpoint: 960px;
align-items: center;
margin-left: 15px;
- .fa {
+ .fas {
display: block;
color: $darker-text-color;
font-size: 48px;
diff --git a/app/javascript/styles/mastodon/accounts.scss b/app/javascript/styles/mastodon/accounts.scss
index 06effbdb2..830c64d50 100644
--- a/app/javascript/styles/mastodon/accounts.scss
+++ b/app/javascript/styles/mastodon/accounts.scss
@@ -136,7 +136,7 @@
float: left;
padding-left: 0;
- .fa {
+ .fas {
display: inline-block;
margin-right: 5px;
}
@@ -146,7 +146,7 @@
float: right;
padding-right: 0;
- .fa {
+ .fas {
display: inline-block;
margin-left: 5px;
}
diff --git a/app/javascript/styles/mastodon/admin.scss b/app/javascript/styles/mastodon/admin.scss
index b6c771abf..1ae4aa1fe 100644
--- a/app/javascript/styles/mastodon/admin.scss
+++ b/app/javascript/styles/mastodon/admin.scss
@@ -50,7 +50,7 @@ $no-columns-breakpoint: 600px;
transition: all 200ms linear;
border-radius: 4px 0 0 4px;
- i.fa {
+ i.fas {
margin-right: 5px;
}
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index c57f99fea..dd440d16f 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -675,7 +675,7 @@
&:hover {
text-decoration: underline;
- .fa {
+ .fas {
color: lighten($dark-text-color, 7%);
}
}
@@ -690,7 +690,7 @@
}
}
- .fa {
+ .fas {
color: $dark-text-color;
}
}
@@ -1496,7 +1496,7 @@ a.account__display-name {
font-size: 15px;
position: relative;
- .fa {
+ .fas {
color: $highlight-text-color;
}
@@ -2044,7 +2044,7 @@ a.account__display-name {
border-bottom: 2px solid lighten($ui-base-color, 8%);
transition: all 50ms linear;
- .fa {
+ .fas {
font-weight: 400;
font-size: 16px;
}
@@ -3274,7 +3274,7 @@ a.status-card {
overflow: hidden;
display: flex;
- .fa {
+ .fas {
font-size: 34px;
margin-right: 10px;
}
@@ -3491,7 +3491,7 @@ a.status-card {
outline: 0 !important;
}
- .fa {
+ .fas {
position: absolute;
top: 10px;
right: 10px;
@@ -3545,7 +3545,7 @@ a.status-card {
font-size: 16px;
cursor: default;
- .fa {
+ .fas {
display: inline-block;
margin-right: 5px;
}
@@ -3564,7 +3564,7 @@ a.status-card {
font-size: 16px;
color: $dark-text-color;
- .fa {
+ .fas {
display: inline-block;
margin-right: 5px;
}
@@ -4462,7 +4462,7 @@ a.status-card {
justify-content: center;
font-size: 26px;
- .fa {
+ .fas {
display: block;
}
}
@@ -4500,7 +4500,7 @@ a.status-card {
display: block;
}
- .fa {
+ .fas {
color: $dark-text-color;
}
}
@@ -5447,7 +5447,7 @@ noscript {
font-size: 16px;
cursor: default;
- .fa {
+ .fas {
display: inline-block;
margin-right: 5px;
}
diff --git a/app/javascript/styles/mastodon/forms.scss b/app/javascript/styles/mastodon/forms.scss
index be2bf7cea..c829023ee 100644
--- a/app/javascript/styles/mastodon/forms.scss
+++ b/app/javascript/styles/mastodon/forms.scss
@@ -656,7 +656,7 @@ code {
}
}
- .fa {
+ .fas {
font-weight: 400;
}
}
diff --git a/app/javascript/styles/mastodon/rtl.scss b/app/javascript/styles/mastodon/rtl.scss
index 11588d47f..16d09fa41 100644
--- a/app/javascript/styles/mastodon/rtl.scss
+++ b/app/javascript/styles/mastodon/rtl.scss
@@ -38,7 +38,7 @@ body.rtl {
padding-left: 30px;
}
- .search__icon .fa {
+ .search__icon .fas {
right: auto;
left: 10px;
}
@@ -197,7 +197,7 @@ body.rtl {
}
.admin-wrapper .sidebar ul a i.fa,
- a.table-action-link i.fa {
+ a.table-action-link i.fas {
margin-right: 0;
margin-left: 5px;
}
@@ -264,7 +264,7 @@ body.rtl {
left: 0;
}
- .landing-page .fa-external-link {
+ .landing-page .fa-external-link-alt {
padding-right: 5px;
padding-left: 0 !important;
}
diff --git a/app/javascript/styles/mastodon/tables.scss b/app/javascript/styles/mastodon/tables.scss
index adb75afe5..73195ac0a 100644
--- a/app/javascript/styles/mastodon/tables.scss
+++ b/app/javascript/styles/mastodon/tables.scss
@@ -112,7 +112,7 @@ a.table-action-link {
color: $primary-text-color;
}
- i.fa {
+ i.fas {
font-weight: 400;
margin-right: 5px;
}
diff --git a/app/javascript/styles/mastodon/widgets.scss b/app/javascript/styles/mastodon/widgets.scss
index f843f0b42..8267c3f4b 100644
--- a/app/javascript/styles/mastodon/widgets.scss
+++ b/app/javascript/styles/mastodon/widgets.scss
@@ -196,7 +196,7 @@
&__message {
margin-bottom: 15px;
- .fa {
+ .fas {
margin-right: 5px;
color: $darker-text-color;
}
diff --git a/app/views/about/_links.html.haml b/app/views/about/_links.html.haml
index f79c37e65..b392b1789 100644
--- a/app/views/about/_links.html.haml
+++ b/app/views/about/_links.html.haml
@@ -13,4 +13,4 @@
%li
= link_to 'https://joinmastodon.org/' do
= "#{t('about.other_instances')}"
- %i.fa.fa-external-link{ style: 'padding-left: 5px;' }
+ %i.fa.fa-external-link-alt{ style: 'padding-left: 5px;' }
diff --git a/app/views/stream_entries/_status.html.haml b/app/views/stream_entries/_status.html.haml
index 83887cd87..e5b7e695d 100644
--- a/app/views/stream_entries/_status.html.haml
+++ b/app/views/stream_entries/_status.html.haml
@@ -35,7 +35,7 @@
- elsif pinned
.status__prepend
.status__prepend-icon-wrapper
- %i.status__prepend-icon.fa.fa-fw.fa-thumb-tack
+ %i.status__prepend-icon.fa.fa-fw.fa-thumbtack
%span
= t('stream_entries.pinned')
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb
index 61780b46b..af231fe16 100644
--- a/spec/helpers/application_helper_spec.rb
+++ b/spec/helpers/application_helper_spec.rb
@@ -55,7 +55,7 @@ describe ApplicationHelper do
describe 'fa_icon' do
it 'returns a tag of fixed-width cog' do
- expect(helper.fa_icon('cog fw')).to eq '
'
+ expect(helper.fa_icon('cog fw')).to eq '
'
end
end