Skip to content

Commit 5e78a78

Browse files
committed
pnpm run format
1 parent 8aeafed commit 5e78a78

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

src/app.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,9 @@
117117
}
118118
}
119119

120-
121120
@layer base {
122121
button:not([disabled]),
123-
[role="button"]:not([disabled]) {
122+
[role='button']:not([disabled]) {
124123
cursor: pointer;
125124
}
126125
}
@@ -131,4 +130,4 @@
131130

132131
.transition-in-place > * {
133132
grid-area: 1/1/2/2;
134-
}
133+
}

src/lib/api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ export const shockersV2Api = new ShockersV2Api(DefaultApiV2Configuration);
7070
export const shockerShareLinksApi = new ShockerShareLinksApi(DefaultApiV1Configuration);
7171
export const shockerSharesV1Api = new ShockerSharesV1Api(DefaultApiV1Configuration);
7272
export const shockerSharesV2Api = new ShockerSharesV2Api(DefaultApiV2Configuration);
73-
export const usersApi = new UsersApi(DefaultApiV1Configuration);
73+
export const usersApi = new UsersApi(DefaultApiV1Configuration);

src/routes/(authenticated)/settings/api-tokens/dialog-token-created.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</Dialog.Description>
2727
</Dialog.Header>
2828
<div class="flex flex-col items-center space-y-4">
29-
<div class="flex w-full items-center justify-between rounded-md p-2">
29+
<div class="flex w-full items-center justify-between rounded-md p-2">
3030
<CopyInput value={token ?? ''}>
3131
{#snippet icon()}
3232
<KeyRound size="20" />

src/routes/(authenticated)/settings/api-tokens/dialog-token-generate.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172

173173
<div class="mt-4">
174174
<h2>Permissions</h2>
175-
<div class="border-surface-500 flex flex-col space-y-4 rounded-md border p-4 mt-3">
175+
<div class="border-surface-500 mt-3 flex flex-col space-y-4 rounded-md border p-4">
176176
{#each permissionCategories as permission}
177177
<span>{capitalizeFirstLetter(permission.name)}</span>
178178
{#each permission.perms as perm}

src/routes/+layout.svelte

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import type { Snippet } from 'svelte';
1414
import { browser } from '$app/environment';
1515
import '../app.css';
16-
import { PUBLIC_DEVELOPMENT_BANNER, PUBLIC_TURNSTILE_SITE_KEY, PUBLIC_BACKEND_API_DOMAIN } from '$env/static/public';
16+
import { PUBLIC_DEVELOPMENT_BANNER } from '$env/static/public';
1717
1818
type Props = {
1919
children?: Snippet;
@@ -43,8 +43,11 @@
4343
<AppSidebar {currentUserRoles} />
4444
<div class="flex h-screen w-screen flex-1 flex-col overflow-hidden">
4545
{#if PUBLIC_DEVELOPMENT_BANNER === 'true'}
46-
<div class="top-0 left-0 z-999 bg-[orangered] text-white text-center">
47-
<p>This is the OpenShock <b>DEVELOPMENT</b> environment. <u>No data is saved</u>, and regularly overwritten by production data</p>
46+
<div class="top-0 left-0 z-999 bg-[orangered] text-center text-white">
47+
<p>
48+
This is the OpenShock <b>DEVELOPMENT</b> environment. <u>No data is saved</u>, and
49+
regularly overwritten by production data
50+
</p>
4851
</div>
4952
{/if}
5053
<Header />

0 commit comments

Comments
 (0)