From 5333680a3238220c413f59d6c190ef4734609a47 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 28 Jul 2020 14:13:29 -0500 Subject: [PATCH] Linter fixes --- app/soapbox/reducers/__tests__/alerts-test.js | 24 +++++++++---------- .../reducers/__tests__/notifications-test.js | 20 ++++++++-------- app/styles/components/audio-player.scss | 4 ++-- app/styles/components/columns.scss | 2 +- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/app/soapbox/reducers/__tests__/alerts-test.js b/app/soapbox/reducers/__tests__/alerts-test.js index f5af4a50f..ab935b45c 100644 --- a/app/soapbox/reducers/__tests__/alerts-test.js +++ b/app/soapbox/reducers/__tests__/alerts-test.js @@ -50,18 +50,18 @@ describe('alerts reducer', () => { // }); it('should handle ALERT_CLEAR', () => { - const state = ImmutableList([ - { - key: 0, - message: 'message_1', - title: 'title_1', - }, - { - key: 1, - message: 'message_2', - title: 'title_2', - }, - ]); + const state = ImmutableList([ + { + key: 0, + message: 'message_1', + title: 'title_1', + }, + { + key: 1, + message: 'message_2', + title: 'title_2', + }, + ]); const action = { type: actions.ALERT_CLEAR, }; diff --git a/app/soapbox/reducers/__tests__/notifications-test.js b/app/soapbox/reducers/__tests__/notifications-test.js index 3831067ba..ef6d99d88 100644 --- a/app/soapbox/reducers/__tests__/notifications-test.js +++ b/app/soapbox/reducers/__tests__/notifications-test.js @@ -206,16 +206,16 @@ describe('notifications reducer', () => { }; expect(reducer(state, action)).toEqual(ImmutableMap({ items: ImmutableList([ - ImmutableMap({ - id: '10743', - type: 'favourite', - account: '9v5c6xSEgAi3Zu1Lv6', - created_at: '2020-06-10T02:51:05.000Z', - status: '9vvNxoo5EFbbnfdXQu', - emoji: undefined, - is_seen: true, - }), - ]), + ImmutableMap({ + id: '10743', + type: 'favourite', + account: '9v5c6xSEgAi3Zu1Lv6', + created_at: '2020-06-10T02:51:05.000Z', + status: '9vvNxoo5EFbbnfdXQu', + emoji: undefined, + is_seen: true, + }), + ]), top: false, unread: 2, })); diff --git a/app/styles/components/audio-player.scss b/app/styles/components/audio-player.scss index 551e19bc9..7073f141a 100644 --- a/app/styles/components/audio-player.scss +++ b/app/styles/components/audio-player.scss @@ -173,11 +173,11 @@ white-space: nowrap; overlow: hidden; text-overflow: ellipsis; - background: hsl( var(--brand-color_h), var(--brand-color_s), 20% ); + background: hsl(var(--brand-color_h), var(--brand-color_s), 20%); padding: 5px; &__label { - color: white; + color: #ffffff; } button { diff --git a/app/styles/components/columns.scss b/app/styles/components/columns.scss index c005a6e60..7e6bafdc0 100644 --- a/app/styles/components/columns.scss +++ b/app/styles/components/columns.scss @@ -260,7 +260,7 @@ position: absolute; right: 0; top: -49px; - + @media screen and (max-width: $nav-breakpoint-2) { top: -35px; font-size: 14px;