From 6c3589fc51fdf218912538b2a46399886ed36ac3 Mon Sep 17 00:00:00 2001 From: Wicklow Date: Fri, 17 Feb 2023 16:27:21 +0100 Subject: [PATCH] Fix basic linter issues --- .../app/+about/about-follows/about-follows.component.scss | 2 +- .../+about/about-instance/about-instance.component.scss | 2 +- .../+about/about-peertube/about-peertube.component.scss | 2 +- client/src/app/+accounts/accounts.component.scss | 2 +- client/src/app/+error-page/error-page.component.scss | 2 +- client/src/app/+login/login.component.scss | 7 +++---- client/src/sass/class-helpers/_buttons.scss | 2 +- client/src/sass/class-helpers/_common.scss | 2 +- .../src/sass/class-helpers/_custom-bootstrap-helpers.scss | 2 +- client/src/sass/class-helpers/_forms.scss | 2 +- client/src/sass/class-helpers/_menu.scss | 2 +- client/src/sass/class-helpers/index.scss | 2 +- client/src/sass/include/_bootstrap-mixins.scss | 2 +- 13 files changed, 15 insertions(+), 16 deletions(-) diff --git a/client/src/app/+about/about-follows/about-follows.component.scss b/client/src/app/+about/about-follows/about-follows.component.scss index e80e9d96e..25c8ac70a 100644 --- a/client/src/app/+about/about-follows/about-follows.component.scss +++ b/client/src/app/+about/about-follows/about-follows.component.scss @@ -10,4 +10,4 @@ a { .no-results { justify-content: flex-start; align-items: flex-start; -} \ No newline at end of file +} diff --git a/client/src/app/+about/about-instance/about-instance.component.scss b/client/src/app/+about/about-instance/about-instance.component.scss index 7ff6539ca..e328cfb60 100644 --- a/client/src/app/+about/about-instance/about-instance.component.scss +++ b/client/src/app/+about/about-instance/about-instance.component.scss @@ -47,4 +47,4 @@ .section-title { color: var(--mainForegroundColor); } -} \ No newline at end of file +} diff --git a/client/src/app/+about/about-peertube/about-peertube.component.scss b/client/src/app/+about/about-peertube/about-peertube.component.scss index efb8b49f5..001405dc7 100644 --- a/client/src/app/+about/about-peertube/about-peertube.component.scss +++ b/client/src/app/+about/about-peertube/about-peertube.component.scss @@ -16,4 +16,4 @@ font-size: 1.1rem; text-align: center; margin-bottom: 1rem; -} \ No newline at end of file +} diff --git a/client/src/app/+accounts/accounts.component.scss b/client/src/app/+accounts/accounts.component.scss index 331008f8a..908e4eeda 100644 --- a/client/src/app/+accounts/accounts.component.scss +++ b/client/src/app/+accounts/accounts.component.scss @@ -117,4 +117,4 @@ margin: auto !important; width: min-content; } -} \ No newline at end of file +} diff --git a/client/src/app/+error-page/error-page.component.scss b/client/src/app/+error-page/error-page.component.scss index 5193c2871..d36cc1701 100644 --- a/client/src/app/+error-page/error-page.component.scss +++ b/client/src/app/+error-page/error-page.component.scss @@ -15,7 +15,7 @@ .box { - @include font-size(1.20rem); + @include font-size(1.25rem); text-align: start; padding: 0 15px; diff --git a/client/src/app/+login/login.component.scss b/client/src/app/+login/login.component.scss index f5c909bdb..f981cd3d3 100644 --- a/client/src/app/+login/login.component.scss +++ b/client/src/app/+login/login.component.scss @@ -13,14 +13,13 @@ input[type=email] { @include peertube-input-text(100%); } -//garder ça ou deux flex-grow-1 flex-shrink-1 lignes 39 et 104 .wrapper { display: flex; justify-content: space-between; flex-wrap: wrap; margin: auto; - >div { + > div { flex: 1 1; } } @@ -31,7 +30,7 @@ input[type=email] { } .alert { - @include rfs(0 auto 2rem, margin); + @include margin(0, auto, 2rem, auto); } .login-form-and-externals { @@ -115,4 +114,4 @@ input[type=email] { display: inline; } } -} \ No newline at end of file +} diff --git a/client/src/sass/class-helpers/_buttons.scss b/client/src/sass/class-helpers/_buttons.scss index 61fdbbf70..436bb48f4 100644 --- a/client/src/sass/class-helpers/_buttons.scss +++ b/client/src/sass/class-helpers/_buttons.scss @@ -34,4 +34,4 @@ .peertube-radio-container { @include peertube-radio-container; -} \ No newline at end of file +} diff --git a/client/src/sass/class-helpers/_common.scss b/client/src/sass/class-helpers/_common.scss index d342c2ceb..5fe8af26f 100644 --- a/client/src/sass/class-helpers/_common.scss +++ b/client/src/sass/class-helpers/_common.scss @@ -120,4 +120,4 @@ .chip { @include chip; -} \ No newline at end of file +} diff --git a/client/src/sass/class-helpers/_custom-bootstrap-helpers.scss b/client/src/sass/class-helpers/_custom-bootstrap-helpers.scss index d5606181d..bb5902ec9 100644 --- a/client/src/sass/class-helpers/_custom-bootstrap-helpers.scss +++ b/client/src/sass/class-helpers/_custom-bootstrap-helpers.scss @@ -5,4 +5,4 @@ .fs-5-5 { @include font-size(1.125rem); -} \ No newline at end of file +} diff --git a/client/src/sass/class-helpers/_forms.scss b/client/src/sass/class-helpers/_forms.scss index 79495aeb4..1e78df947 100644 --- a/client/src/sass/class-helpers/_forms.scss +++ b/client/src/sass/class-helpers/_forms.scss @@ -52,4 +52,4 @@ label+.form-group-description { margin-bottom: 10px; margin-top: 0; -} \ No newline at end of file +} diff --git a/client/src/sass/class-helpers/_menu.scss b/client/src/sass/class-helpers/_menu.scss index 1d17f9f2e..9e69136c4 100644 --- a/client/src/sass/class-helpers/_menu.scss +++ b/client/src/sass/class-helpers/_menu.scss @@ -77,4 +77,4 @@ @media screen and (max-width: $small-view) { flex-direction: column; } -} \ No newline at end of file +} diff --git a/client/src/sass/class-helpers/index.scss b/client/src/sass/class-helpers/index.scss index ec0aea52e..a7d584d96 100644 --- a/client/src/sass/class-helpers/index.scss +++ b/client/src/sass/class-helpers/index.scss @@ -2,4 +2,4 @@ @use '_common' as *; @use '_custom-bootstrap-helpers' as *; @use '_forms' as *; -@use '_menu' as *; \ No newline at end of file +@use '_menu' as *; diff --git a/client/src/sass/include/_bootstrap-mixins.scss b/client/src/sass/include/_bootstrap-mixins.scss index 2be16ebad..82604633c 100644 --- a/client/src/sass/include/_bootstrap-mixins.scss +++ b/client/src/sass/include/_bootstrap-mixins.scss @@ -2,4 +2,4 @@ @import 'bootstrap/scss/variables'; @import 'bootstrap/scss/maps'; @import 'bootstrap/scss/mixins'; -@import 'bootstrap/scss/utilities'; \ No newline at end of file +@import 'bootstrap/scss/utilities'; -- 2.41.0