Skip to content

fix(calagopus): prevent address row from overflowing card on mobile - #8

Merged
0x7d8 merged 1 commit into
calagopus:mainfrom
Partymann2000:patch-2
Nov 26, 2026
Merged

0x7d8 merged 1 commit into
calagopus:mainfrom
Partymann2000:patch-2

Conversation

@Partymann2000

Copy link
Copy Markdown
Contributor

Summary

On narrow mobile viewports, a long server address (host:port + Copy button) inside the non-wrapping flex row forced the grid column wider than the card container, causing both the Copy button and the right-aligned resource values (Memory, Disk, CPU) to overflow past the right border.

Changes

  • Allow flex rows in server.blade.php to wrap (flex-wrap gap-x-2) and break long hostnames (break-words)
  • Add overflow-hidden to the card and grid columns so grid children stay constrained to the container width on mobile

## Summary
On narrow mobile viewports, a long server address (`host:port` + `Copy` button) inside the non-wrapping flex row forced the grid column wider than the card container, causing both the `Copy` button and the right-aligned resource values (`Memory`, `Disk`, `CPU`) to overflow past the right border.

## Changes
- Allow flex rows in `server.blade.php` to wrap (`flex-wrap gap-x-2`) and break long hostnames (`break-words`)
- Add `overflow-hidden` to the card and grid columns so grid children stay constrained to the container width on mobile
@0x7d8
0x7d8 merged commit 5e8b341 into calagopus:main Nov 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants