aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorWicklow <wicklow@framasoft.org>2023-02-17 16:27:21 +0100
committerChocobozzz <chocobozzz@cpy.re>2023-02-20 13:52:22 +0100
commit6c3589fc51fdf218912538b2a46399886ed36ac3 (patch)
treed8eb4de0312dfd292f5d59631925a406f969c040
parent5995a28f2bb8cdef9fc8024b10cd246d46f9eb78 (diff)
downloadPeerTube-6c3589fc51fdf218912538b2a46399886ed36ac3.tar.gz
PeerTube-6c3589fc51fdf218912538b2a46399886ed36ac3.tar.zst
PeerTube-6c3589fc51fdf218912538b2a46399886ed36ac3.zip
Fix basic linter issues
-rw-r--r--client/src/app/+about/about-follows/about-follows.component.scss2
-rw-r--r--client/src/app/+about/about-instance/about-instance.component.scss2
-rw-r--r--client/src/app/+about/about-peertube/about-peertube.component.scss2
-rw-r--r--client/src/app/+accounts/accounts.component.scss2
-rw-r--r--client/src/app/+error-page/error-page.component.scss2
-rw-r--r--client/src/app/+login/login.component.scss7
-rw-r--r--client/src/sass/class-helpers/_buttons.scss2
-rw-r--r--client/src/sass/class-helpers/_common.scss2
-rw-r--r--client/src/sass/class-helpers/_custom-bootstrap-helpers.scss2
-rw-r--r--client/src/sass/class-helpers/_forms.scss2
-rw-r--r--client/src/sass/class-helpers/_menu.scss2
-rw-r--r--client/src/sass/class-helpers/index.scss2
-rw-r--r--client/src/sass/include/_bootstrap-mixins.scss2
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 {
10.no-results { 10.no-results {
11 justify-content: flex-start; 11 justify-content: flex-start;
12 align-items: flex-start; 12 align-items: flex-start;
13} \ No newline at end of file 13}
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 @@
47 .section-title { 47 .section-title {
48 color: var(--mainForegroundColor); 48 color: var(--mainForegroundColor);
49 } 49 }
50} \ No newline at end of file 50}
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 @@
16 font-size: 1.1rem; 16 font-size: 1.1rem;
17 text-align: center; 17 text-align: center;
18 margin-bottom: 1rem; 18 margin-bottom: 1rem;
19} \ No newline at end of file 19}
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 @@
117 margin: auto !important; 117 margin: auto !important;
118 width: min-content; 118 width: min-content;
119 } 119 }
120} \ No newline at end of file 120}
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 @@
15 15
16 16
17 .box { 17 .box {
18 @include font-size(1.20rem); 18 @include font-size(1.25rem);
19 19
20 text-align: start; 20 text-align: start;
21 padding: 0 15px; 21 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] {
13 @include peertube-input-text(100%); 13 @include peertube-input-text(100%);
14} 14}
15 15
16//garder ça ou deux flex-grow-1 flex-shrink-1 lignes 39 et 104
17.wrapper { 16.wrapper {
18 display: flex; 17 display: flex;
19 justify-content: space-between; 18 justify-content: space-between;
20 flex-wrap: wrap; 19 flex-wrap: wrap;
21 margin: auto; 20 margin: auto;
22 21
23 >div { 22 > div {
24 flex: 1 1; 23 flex: 1 1;
25 } 24 }
26} 25}
@@ -31,7 +30,7 @@ input[type=email] {
31} 30}
32 31
33.alert { 32.alert {
34 @include rfs(0 auto 2rem, margin); 33 @include margin(0, auto, 2rem, auto);
35} 34}
36 35
37.login-form-and-externals { 36.login-form-and-externals {
@@ -115,4 +114,4 @@ input[type=email] {
115 display: inline; 114 display: inline;
116 } 115 }
117 } 116 }
118} \ No newline at end of file 117}
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 @@
34 34
35.peertube-radio-container { 35.peertube-radio-container {
36 @include peertube-radio-container; 36 @include peertube-radio-container;
37} \ No newline at end of file 37}
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 @@
120 120
121.chip { 121.chip {
122 @include chip; 122 @include chip;
123} \ No newline at end of file 123}
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 @@
5 5
6.fs-5-5 { 6.fs-5-5 {
7 @include font-size(1.125rem); 7 @include font-size(1.125rem);
8} \ No newline at end of file 8}
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 @@
52label+.form-group-description { 52label+.form-group-description {
53 margin-bottom: 10px; 53 margin-bottom: 10px;
54 margin-top: 0; 54 margin-top: 0;
55} \ No newline at end of file 55}
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 @@
77 @media screen and (max-width: $small-view) { 77 @media screen and (max-width: $small-view) {
78 flex-direction: column; 78 flex-direction: column;
79 } 79 }
80} \ No newline at end of file 80}
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 @@
2@use '_common' as *; 2@use '_common' as *;
3@use '_custom-bootstrap-helpers' as *; 3@use '_custom-bootstrap-helpers' as *;
4@use '_forms' as *; 4@use '_forms' as *;
5@use '_menu' as *; \ No newline at end of file 5@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 @@
2@import 'bootstrap/scss/variables'; 2@import 'bootstrap/scss/variables';
3@import 'bootstrap/scss/maps'; 3@import 'bootstrap/scss/maps';
4@import 'bootstrap/scss/mixins'; 4@import 'bootstrap/scss/mixins';
5@import 'bootstrap/scss/utilities'; \ No newline at end of file 5@import 'bootstrap/scss/utilities';