Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
SapiensAnatis committed Aug 27, 2024
1 parent b0c9ef2 commit e5d0a6e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ jobs:

- name: ESLint
working-directory: Website/
if: success() || failure()
run: pnpm run lint:eslint

- name: svelte-check
working-directory: Website/
if: success() || failure()
run: pnpm run check
5 changes: 5 additions & 0 deletions Website/src/lib/components/select/select.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
className,
'flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50'
)}
class:placeholder-selected={value === ''}
{id}
bind:value
use:field
Expand All @@ -52,4 +53,8 @@
grid-template-areas: 'select';
align-items: center;
}
.placeholder-selected {
color: hsl(var(--muted-foreground));
}
</style>
2 changes: 1 addition & 1 deletion Website/src/lib/translations/en/save-editor.json
Original file line number Diff line number Diff line change
Expand Up @@ -929,4 +929,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import * as Card from '$shadcn/components/ui/card';
import StagedPresent from './present/stagedPresent.svelte';
import { changesCount,presents } from './stores';
import { changesCount, presents } from './stores';
$: anyModifications = $changesCount > 0;
Expand Down

0 comments on commit e5d0a6e

Please sign in to comment.