mirror of
https://github.com/niels-emmer/myace.git
synced 2026-09-13 23:53:30 +02:00
[PR #151] [MERGED] fix: UI layout and icon fixes (description widths, GitHub icon, mobile collection header) #150
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
github-mirrors/myace#150
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/niels-emmer/myace/pull/151
Author: @niels-emmer
Created: 9/1/2026
Status: ✅ Merged
Merged: 9/1/2026
Merged by: @niels-emmer
Base:
main← Head:fix/ui-layout-and-icons📝 Commits (3)
e2b82acfix: match page description width to content rows below72b1d87fix: restore GitHub icon after lucide-react brand-icon removal92fc4b9fix: mobile collection detail header layout📊 Changes
10 files changed (+37 additions, -19 deletions)
View changed files
➕
frontend/src/components/GithubIcon.tsx(+15 -0)📝
frontend/src/components/SectionHub.tsx(+1 -1)📝
frontend/src/pages/CollectionDetail.tsx(+2 -2)📝
frontend/src/pages/CollectionsManager.tsx(+3 -3)📝
frontend/src/pages/CommunityCollectionDetail.tsx(+2 -2)📝
frontend/src/pages/Dashboard.tsx(+1 -1)📝
frontend/src/pages/ImportPage.tsx(+2 -2)📝
frontend/src/pages/Landing.tsx(+4 -3)📝
frontend/src/pages/Login.tsx(+4 -3)📝
frontend/src/pages/UserSettings.tsx(+3 -2)📄 Description
Summary
Three frontend UI fixes:
Description width on desktop — the hero/hub/dashboard descriptions were capped at
max-w-3xl/max-w-2xlwhile the content rows below span the full container, leaving descriptions at roughly half width on desktop. Removed the constraints so they match the rows below (Landing, Dashboard, and the four hub pages viaSectionHub). Mobile unaffected.GitHub icon restoration — the dependabot lucide-react bump (1.33+) removed all brand icons including
Github, which broke the frontend build (tsc) and crashed Landing/Login at runtime. Added a localGithubIconSVG component matching lucide'sclassNamesizing API and swapped it into the 5 affected pages.Mobile collection detail header — on mobile the header action buttons overflowed the screen and squeezed the collection description into a narrow column. The header now wraps so the button row sits below the back-arrow + metadata line, full-width and left-aligned, with buttons wrapping to additional rows when needed. Desktop layout unchanged. Applies to both My Collections (
CollectionDetail) and Community Collections (CommunityCollectionDetail).Type of change
Testing
tsc -b: passesnpm run lint: 0 errorsnpm run test: 106/106 pass (21 files) — includes the previously-failingLanding.test.tsxdocker compose build frontend: passes (was blocked by the icon issue)Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.