Skip to content

Commit

Permalink
Update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
derekmbrown committed Feb 4, 2025
1 parent 3e99471 commit 0e873db
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/ui/TagItem.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default function TagItem({ tag }) {
return (
<a href={`/tags/${tag}`}>
<div class="bg-[#1E262F] rounded-lg mr-3 text-lg flex items-center">
<div class="bg-[#1E262F] rounded-lg mr-2 text-lg flex items-center">
<div class="px-4 py-2">{tag}</div>
</div>
</a>
Expand Down
12 changes: 6 additions & 6 deletions src/layouts/Note.astro
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ tags.sort()
<div class="flex flex-col mb-8">
<div class="flex mb-5">
{tags.map(tag => (
<div class="bg-[#1E262F] px-3 py-2 mr-3 rounded-lg text-sm">
<a href={`/tags/${tag}`}>
{tag}
</a>
</div>
))}
<a href={`/tags/${tag}`}>
<div class="bg-[#1E262F] px-3 py-2 mr-2 rounded-lg text-sm">
{tag}
</div>
</a>
))}
</div>
<span class="text-5xl mb-4 font-bold">{title}</span>
<div class="flex flex-wrap">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/tags/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ tags.sort()
MetaTag="website",
MetaUrl="https://derekbrown.io"
>
<div class="flex flex-wrap gap-y-3">
<div class="flex flex-wrap gap-y-2">
{tags.map(tag => (
<TagItem tag={tag} />
))}
Expand Down

0 comments on commit 0e873db

Please sign in to comment.