Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions packages/ui/src/lib/components/Code/Code.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,7 @@
children: Snippet;
} & HTMLAttributes<HTMLElement>;

const {
class: className,
size = 'medium',
variant = 'filled',
color = 'primary',
children,
...restProps
}: Props = $props();
const { class: className, size, variant = 'filled', color = 'primary', children, ...restProps }: Props = $props();

const styles = tv({
base: 'font-monospace rounded-lg px-2 py-1',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/lib/components/Kbd/Kbd.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
children?: Snippet;
} & HTMLAttributes<HTMLElement>;

const { class: className, size = 'small', children, ...restProps }: Props = $props();
const { class: className, size, children, ...restProps }: Props = $props();

const styles = tv({
base: 'bg-subtle rounded-md border border-b-2 px-1 py-0.5 font-mono shadow',
Expand Down
2 changes: 2 additions & 0 deletions packages/ui/src/routes/components/markdown/BasicExample.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ This is ~~strike-through~~

This is `code`

#### Headers can also container `code`

### Link

Here's a link to [Immich](https://immich.app/)
Expand Down
Loading