Fix linter errors

This commit is contained in:
Râu Cao
2023-01-15 13:09:39 +08:00
parent 088db24534
commit 2626543f3e
6 changed files with 17 additions and 13 deletions
+6
View File
@@ -48,6 +48,12 @@ module.exports = {
"no-action" "no-action"
] ]
}, },
{
"moduleId": "app/components/expense-list/template",
"only": [
"no-invalid-role"
]
},
{ {
"moduleId": "app/components/topbar-account-panel/template", "moduleId": "app/components/topbar-account-panel/template",
"only": [ "only": [
+1 -1
View File
@@ -13,7 +13,7 @@
</p> </p>
<p class="tags"> <p class="tags">
{{#each expense.tags as |tag|}} {{#each expense.tags as |tag|}}
<button class="small yellow" role="none"> <button type="button" class="small yellow" role="none">
<IconTag />{{tag}} <IconTag />{{tag}}
</button> </button>
{{/each}} {{/each}}
-4
View File
@@ -14,10 +14,6 @@ section#signup {
p { p {
font-size: 1.2rem; font-size: 1.2rem;
&.mg-bottom-md {
margin-bottom: 2rem;
}
&.label { &.label {
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
font-size: 1rem; font-size: 1rem;
+6 -4
View File
@@ -62,15 +62,12 @@ main {
} }
} }
// TODO Remove after switch to Tailwind CSS
&.text-center { &.text-center {
text-align: center; text-align: center;
} }
p { p {
&.mg-bottom-md {
margin-bottom: 2rem;
}
&.actions { &.actions {
text-align: center; text-align: center;
padding-top: 2rem; padding-top: 2rem;
@@ -177,4 +174,9 @@ main section {
margin-bottom: 2rem; margin-bottom: 2rem;
} }
} }
// TODO Remove after switch to Tailwind CSS
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
} }
+3 -3
View File
@@ -109,10 +109,10 @@
{{#if this.showFullContributionSync}} {{#if this.showFullContributionSync}}
<section id="sync-all-contributions"> <section id="sync-all-contributions">
{{#if this.kredits.fetchMissingContributions.isIdle}} {{#if this.kredits.fetchMissingContributions.isIdle}}
<p style="margin-bottom: 1rem;"> <p class="mb-4">
There are There are
<strong>{{this.kredits.missingHistoricContributionsCount}}</strong> <strong>{{this.kredits.missingHistoricContributionsCount}}</strong>
contributions, which are not currently loaded/displayed. earlier contributions, which are not currently loaded/displayed.
</p> </p>
<p> <p>
You can fetch all historic data in one go, and have it stored locally in You can fetch all historic data in one go, and have it stored locally in
@@ -122,7 +122,7 @@
</button> </button>
</p> </p>
{{else}} {{else}}
<p style="margin-bottom: 1rem;"> <p class="mb-4">
Syncing data. Please be patient... Syncing data. Please be patient...
</p> </p>
<p> <p>
+1 -1
View File
@@ -2,7 +2,7 @@
<h2>Complete your contributor profile</h2> <h2>Complete your contributor profile</h2>
</header> </header>
<div class="content text-lg"> <div class="content text-lg">
<p class="mg-bottom-md"> <p class="mb-8">
Kredits allow you to take part in project governance, and to earn rewards for Kredits allow you to take part in project governance, and to earn rewards for
your contributions. For both, you will need an Ethereum wallet/account. your contributions. For both, you will need an Ethereum wallet/account.
</p> </p>