Skip to content

Commit

Permalink
Merge pull request #157 from otoyo/fix-page-link-style
Browse files Browse the repository at this point in the history
Fix page link style
  • Loading branch information
otoyo authored Aug 8, 2023
2 parents 74c0d4f + da0889a commit db492b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/notion-blocks/Mention.astro
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ if (pageId) {
}
span.icon img.notion-icon {
width: 1.3em;
height: fit-content;
height: 1.3rem;
vertical-align: sub;
flex-shrink: 0;
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion src/components/notion-blocks/annotations/Anchor.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const { richText } = Astro.props

{
/* prettier-ignore */
richText.Href ? (
richText.Href && !richText.Mention ? (
<a href={richText.Href}><slot /></a>
) : (
<slot />
Expand Down

1 comment on commit db492b8

@vercel
Copy link

@vercel vercel bot commented on db492b8 Aug 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

astro-notion-blog – ./

astro-notion-blog-otoyo.vercel.app
astro-notion-blog-git-main-otoyo.vercel.app
astro-notion-blog-taupe.vercel.app

Please sign in to comment.