Skip to content

Commit a1b264b

Browse files
committed
Fix check/lint
1 parent 113afc3 commit a1b264b

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

src/routes/(authenticated)/+layout.svelte

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@
113113
<div class="h-full drawer-side shrink-0 z-10">
114114
<label for="primary-content-drawer" class="drawer-overlay"></label>
115115
<div
116-
class="h-full mt-0 overflow-hidden w-full lg:w-72 lg:border-r min-[480px]:w-1/2 min-[720px]:w-1/3"
116+
class="dark:border-gray-600 h-full mt-0 overflow-hidden w-full lg:w-72 lg:border-r min-[480px]:w-1/2 min-[720px]:w-1/3"
117117
>
118118
<ul class="menu menu-lg p-0 w-full bg-base-100 text-base-content h-full overflow-y-auto">
119-
<li class="border-y flex flex-row flex-nowrap">
119+
<li class="dark:border-gray-600 border-y flex flex-row flex-nowrap">
120120
{#if data.organizations.length > 1}
121121
<button
122122
class="rounded-none h-16 p-0 pl-2 bg-base-200 hover:bg-base-300 cursor-pointer grow flex items-center"
@@ -246,7 +246,7 @@
246246
</a>
247247
</li>
248248
{/if}
249-
<li class="menu-item-divider-top menu-item-divider-bottom">
249+
<li class="dark:border-gray-600 border-y-2">
250250
<a
251251
class="rounded-none"
252252
class:active-menu-item={isUrlActive('/directory')}
@@ -345,13 +345,6 @@
345345
height: 4rem;
346346
min-height: 3rem;
347347
}
348-
.menu-item-divider-bottom {
349-
border-bottom: 2px solid #e5e5e5;
350-
}
351-
.menu-item-divider-top {
352-
border-top: 2px solid #e5e5e5;
353-
}
354-
355348
.active-menu-item {
356349
border-left: 5px solid var(--color-accent); /* Adjust the border color and width to your preferences */
357350
font-weight: bold;

src/routes/(authenticated)/organizations/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<tbody>
2828
{#each data.organizations.toSorted((a, b) => byName(a, b, getLocale())) as org}
2929
<tr
30-
class="h-16 border-y hover:bg-base-200 cursor-pointer"
30+
class="dark:border-gray-600 h-16 border-y hover:bg-base-200 cursor-pointer"
3131
onclick={() => goto(page.url.pathname + '/' + org.Id + '/settings/info')}
3232
>
3333
<td>

src/routes/(authenticated)/projects/[filter=projectSelector]/[[orgId=idNumber]]/+page.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export const actions: Actions = {
178178
...form.data,
179179
organizationId: null
180180
}),
181-
...whereStatements(params.filter, locals.security, orgIds)
181+
...whereStatements(params.filter!, locals.security, orgIds)
182182
};
183183

184184
const projects = await DatabaseReads.projects.findMany({

0 commit comments

Comments
 (0)