Songbook page: Share link wraps onto its own line on mobile

Open Beginner friendly
#301 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
css, html
Domain
frontend

Research direction

Start with templates/songbook/index.html and static/css/site.css, as named in the issue, and inspect the metadata markup and styles for both Songbook cards. Check how the lead card gets its centered alignment, then keep the separator and Share link together when the text wraps. Verify at roughly 400px wide in Android Chrome: the separator should not be left dangling.

Written by the indexing model from the issue text.

Description

On mobile (~400px wide, Android Chrome), the Share link on the Songbook page drops to its own line under the date, leaving the · separator dangling at the end of "Updated 3 days ago ·".

Seen on both cards:

  • Current Songbook (lead card): Share wraps and also renders centred, unlike the other cards.
  • Complete Songbook: Share wraps, left-aligned.

Likely cause
.songbook-meta (static/css/site.css) lets the line break anywhere. The large mobile font plus the narrow text column beside the cover leaves no room for "Updated … · Share" on one line, so .songbook-share (inline-block) wraps and the · stays behind.

Suggested fix
Keep · Share together: wrap the separator and link in a white-space: nowrap span (in templates/songbook/index.html), so if anything wraps the whole · Share moves with it. Also check where the centring on the lead card comes from.

Expected
"Updated 3 days ago · Share" on one line, or a clean break with no orphaned ·.


Generated by Claude Code

Dominant language
HTML
Stars
0
Forks
0
Avg merge
48m
Merged PRs (30d)
47

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UkuleleTuesday/website

All issues in UkuleleTuesday/website

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.