Fix iOS status icon disappearing and squeezed client-card note #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/ios-status-icon-v2"
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?
Follow-up to #5, which over-corrected.
1. Status icon vanished on iOS. The background-image approach from #5 didn't paint on iOS Safari, so the Uptime Kuma icon disappeared entirely. Reverted to a real
<img>, but nested inside a fixed-size block wrapper (.status-logo) with the image sized atwidth/height: 100%. iOS only mis-sizes an<img>that is a direct flex child (the original 640px blowup); as a child of a normal block wrapper it renders correctly and stays at 0.7rem.2. Client-card "Powered by…" note still squeezed.
flex-wrapalone didn't fix it: flex items shrink (defaultflex-shrink: 1) to fill leftover space before they wrap, so the note collapsed into a thin column and wrapped vertically (Powered / by / Element / Web). On mobile,.card-metanow stacks as a column with the·separator hidden, so the address and the note each get their own full-width line.