Skip to content
Open
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion src/_includes/bio.njk
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<div class="space-y-4 text-sm border-t border-[var(--border-color)] pt-6">
{% if location or country %}
<div class="flex items-center gap-3">
<div class="flex justify-end gap-2 text-right">
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The change to justify-end and text-right introduces a layout inconsistency with the Email and Website sections (lines 33 and 41), which are left-aligned. Additionally, the reduction of gap-3 to gap-2 breaks the uniform spacing used throughout the sidebar.

To address the wrapping issue mentioned in the PR description while maintaining UI consistency, it is recommended to use items-start instead of items-center. This ensures the icon remains aligned with the first line of text when the location name wraps, without breaking the left-aligned vertical rhythm of the profile card.

            <div class="flex items-start gap-3">

<span class="text-lg">📍</span>
<span class="text-[var(--text-muted)]">{{ location }}{% if location and country %}, {% endif %}{{ country }}</span>
Comment on lines +26 to 28
</div>
Expand Down
Loading