Fixing WebStorm's aggressive Whitespacing
This commit is contained in:
2 files changed
+28
-28
No files matched your search
@@ -25,16 +25,16 @@
|
|||||||
<h1 class="text-2xl font-bold" slot="title">Deny Application</h1>
|
<h1 class="text-2xl font-bold" slot="title">Deny Application</h1>
|
||||||
<form on:submit|preventDefault={() => deny()} class="flex flex-col gap-4">
|
<form on:submit|preventDefault={() => deny()} class="flex flex-col gap-4">
|
||||||
<p class="inline-flex flex-row gap-2 items-center">
|
<p class="inline-flex flex-row gap-2 items-center">
|
||||||
Denying <UserLink avatar {user} />'s Application
|
Denying <UserLink avatar {user} />'s Application
|
||||||
</p>
|
</p>
|
||||||
<MarkdownEditor
|
<MarkdownEditor
|
||||||
bind:value={denyReason}
|
bind:value={denyReason}
|
||||||
label="Deny Reason (optional)"
|
label="Deny Reason (optional)"
|
||||||
placeholder="Application Reason breaks rule #3"
|
placeholder="Application Reason breaks rule #3"
|
||||||
rows={4}
|
rows={4}
|
||||||
/>
|
/>
|
||||||
<Button color="primary" size="lg" submit {loading} disabled={loading}>
|
<Button color="primary" size="lg" submit {loading} disabled={loading}>
|
||||||
Deny
|
Deny
|
||||||
</Button>
|
</Button>
|
||||||
</form>
|
</form>
|
||||||
</Modal>
|
</Modal>
|
||||||
@@ -94,8 +94,8 @@
|
|||||||
<div class="flex items-center gap-1 text-sm">
|
<div class="flex items-center gap-1 text-sm">
|
||||||
<SectionTitle>
|
<SectionTitle>
|
||||||
{application.creator_local_user.accepted_application
|
{application.creator_local_user.accepted_application
|
||||||
? 'Approved'
|
? 'Approved'
|
||||||
: 'Denied'} by
|
: 'Denied'} by
|
||||||
</SectionTitle>
|
</SectionTitle>
|
||||||
<UserLink avatar user={application.admin} />
|
<UserLink avatar user={application.admin} />
|
||||||
<SectionTitle>:</SectionTitle>
|
<SectionTitle>:</SectionTitle>
|
||||||
@@ -107,8 +107,8 @@
|
|||||||
<div class="flex items-center gap-1 text-sm">
|
<div class="flex items-center gap-1 text-sm">
|
||||||
<SectionTitle>
|
<SectionTitle>
|
||||||
{application.creator_local_user.accepted_application
|
{application.creator_local_user.accepted_application
|
||||||
? 'Approved'
|
? 'Approved'
|
||||||
: 'Denied'} by
|
: 'Denied'} by
|
||||||
</SectionTitle>
|
</SectionTitle>
|
||||||
<UserLink avatar user={application.admin} />
|
<UserLink avatar user={application.admin} />
|
||||||
</div>
|
</div>
|
||||||
@@ -117,28 +117,28 @@
|
|||||||
{/if}
|
{/if}
|
||||||
<div class="ml-auto">
|
<div class="ml-auto">
|
||||||
<Button
|
<Button
|
||||||
size="square-md"
|
size="square-md"
|
||||||
class="hover:bg-slate-200 {application.creator_local_user
|
class="hover:bg-slate-200 {application.creator_local_user
|
||||||
.accepted_application === false && application.admin
|
.accepted_application === false && application.admin
|
||||||
? '!text-red-500'
|
? '!text-red-500'
|
||||||
: ''}"
|
: ''}"
|
||||||
aria-label="Deny"
|
aria-label="Deny"
|
||||||
on:click={() => review(false)}
|
on:click={() => review(false)}
|
||||||
loading={denying || reviewing}
|
loading={denying || reviewing}
|
||||||
disabled={approving || denying || reviewing}
|
disabled={approving || denying || reviewing}
|
||||||
>
|
>
|
||||||
<Icon src={XMark} mini size="16" slot="prefix" />
|
<Icon src={XMark} mini size="16" slot="prefix" />
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
size="square-md"
|
size="square-md"
|
||||||
class="hover:bg-slate-200 {application.creator_local_user
|
class="hover:bg-slate-200 {application.creator_local_user
|
||||||
.accepted_application
|
.accepted_application
|
||||||
? '!text-green-500'
|
? '!text-green-500'
|
||||||
: ''}"
|
: ''}"
|
||||||
aria-label="Approve"
|
aria-label="Approve"
|
||||||
on:click={() => review(true)}
|
on:click={() => review(true)}
|
||||||
loading={approving}
|
loading={approving}
|
||||||
disabled={approving || denying || reviewing}
|
disabled={approving || denying || reviewing}
|
||||||
>
|
>
|
||||||
<Icon src={Check} mini size="16" slot="prefix" />
|
<Icon src={Check} mini size="16" slot="prefix" />
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in new issue
Block a user