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 0e873db commit fad9875
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/ui/NoteItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function NoteItem({ note }) {

return (
<a href={`/notes/${note.id}`}>
<div class="flex flex-col justify-between md:flex-row md:mb-3 mb-3 bg-[#1E262F] p-6 text-lg rounded-lg">
<div class="flex flex-col justify-between md:flex-row md:mb-2.5 mb-2.5 bg-[#1E262F] p-6 text-lg rounded-lg">
<div class="mr-2">{title}</div>
<div class="text-[#7E8C9A] shrink-0">{publishedDate}</div>
</div>
Expand Down
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-2 text-lg flex items-center">
<div class="bg-[#1E262F] rounded-lg mr-2.5 text-lg flex items-center">
<div class="px-4 py-2">{tag}</div>
</div>
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/Note.astro
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ tags.sort()
<div class="flex mb-5">
{tags.map(tag => (
<a href={`/tags/${tag}`}>
<div class="bg-[#1E262F] px-3 py-2 mr-2 rounded-lg text-sm">
<div class="bg-[#1E262F] px-3 py-2 mr-2.5 rounded-lg text-sm">
{tag}
</div>
</a>
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-2">
<div class="flex flex-wrap gap-y-2.5">
{tags.map(tag => (
<TagItem tag={tag} />
))}
Expand Down

0 comments on commit fad9875

Please sign in to comment.