Skip to content

Commit

Permalink
fix more ui issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vorant94 committed May 5, 2024
1 parent 49b8a0f commit 8a71f8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ export const ProjectTiledListItem: FC<ProjectTiledListItemProps> = function ({
<Divider isLeft={false}>
<Text base="span">Latest Changes</Text>
</Divider>
<menu className={cn('flex flex-col divide-y divide-dashed')}>
<menu
className={cn(
'flex flex-col divide-y divide-dashed divide-slate-300 dark:divide-slate-600',
)}>
{changelogs.map((changelog) => (
<li
className={cn('flex flex-col py-1')}
Expand Down
4 changes: 2 additions & 2 deletions packages/blog/src/ui/components/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ export const Link: FC<PropsWithChildren<LinkProps>> = function ({
className,
children,
href,
bindClass = '',
bindClass,
...rest
}) {
return (
<a
x-data={`{href: '${href}'}`}
x-on:mouseenter={`$store.prefetchedLinks.prefetchLink("${href && isInternalUrl(href) ? href : ''}")`}
x-bind:class={bindClass}
x-bind:class={bindClass || false}
className={cn(
'text-slate-500 decoration-cyan-500 decoration-dotted decoration-4 underline-offset-4 hover:text-cyan-500 hover:underline group-hover:text-cyan-500 group-hover:underline',
linkSizeToStyles[size],
Expand Down

0 comments on commit 8a71f8a

Please sign in to comment.