fix: mobile room chat header layout #280

Closed
userAdityaa wants to merge 1 commits from userAdityaa/flotilla:top-bar-mobile into dev
Collaborator

Summary

The room chat header on mobile looked like a floating card above the messages, which made it easy to mistake for something you needed to respond to. This change makes the mobile room header feel fixed and attached at the top, more compact, and easier to scan with a prominent room logo.

Screenshots

Dark Theme Light Theme
localhost_1847_spaces_meta.spaces.coracle.social_recent(iPhone 14 Pro Max) (1).png localhost_1847_spaces_meta.spaces.coracle.social_recent(iPhone 14 Pro Max).png

closes #259

### Summary The room chat header on mobile looked like a floating card above the messages, which made it easy to mistake for something you needed to respond to. This change makes the mobile room header feel fixed and attached at the top, more compact, and easier to scan with a prominent room logo. ### Screenshots | Dark Theme | Light Theme |----|----| |![localhost_1847_spaces_meta.spaces.coracle.social_recent(iPhone 14 Pro Max) (1).png](/attachments/4e453cf1-93f7-4b5e-b65c-76a95f63d2fe)|![localhost_1847_spaces_meta.spaces.coracle.social_recent(iPhone 14 Pro Max).png](/attachments/427e0ad1-c78f-42eb-8d2b-73640a8e9fcd)| closes #259
Owner

Why all the imageClass stuff? I don't actually see rounded-full taking effect in the screenshots. Anyway, this feels too special-case-y. The old code was pretty convoluted since the page bar floated and had to partially overlap the content. Flattening it out like this makes it possible to simplify the html significantly — no negative margins, etc. See if you can make the code simpler instead of layering on more complexity.

Why all the imageClass stuff? I don't actually see rounded-full taking effect in the screenshots. Anyway, this feels too special-case-y. The old code was pretty convoluted since the page bar floated and had to partially overlap the content. Flattening it out like this makes it possible to simplify the html significantly — no negative margins, etc. See if you can make the code simpler instead of layering on more complexity.
Author
Collaborator

pushing the changes shortly.

pushing the changes shortly.
userAdityaa added 1 commit 2026-05-21 21:31:04 +00:00
userAdityaa force-pushed top-bar-mobile from ce7223b0eb to 631dbed375 2026-05-21 21:31:04 +00:00 Compare
Owner

I gave this a shot and came up with 339bb1afac, seems like a pretty simple change. Look ok to you? I didn't add the space icon as in the mockup, so that could be follow-up work.

I gave this a shot and came up with 339bb1afaceeb9b61f5aa7223490e4faf8bc86d5, seems like a pretty simple change. Look ok to you? I didn't add the space icon as in the mockup, so that could be follow-up work.
hodlbod closed this pull request 2026-05-21 22:21:52 +00:00
Author
Collaborator

I gave this a shot and came up with 339bb1afac, seems like a pretty simple change. Look ok to you? I didn't add the space icon as in the mockup, so that could be follow-up work.

I thought it was only meant for the mobile layout, which is why those major changes were made. Just doing the follow-up work now.

and should this space icon be visible in the desktop as well, or just mobile ?

> I gave this a shot and came up with 339bb1afaceeb9b61f5aa7223490e4faf8bc86d5, seems like a pretty simple change. Look ok to you? I didn't add the space icon as in the mockup, so that could be follow-up work. I thought it was only meant for the mobile layout, which is why those major changes were made. Just doing the follow-up work now. and should this space icon be visible in the desktop as well, or just mobile ?
Owner

I see, that makes sense. I'm ok with just using the flat header everywhere. No, I think we can omit the space image on desktop.

I see, that makes sense. I'm ok with just using the flat header everywhere. No, I think we can omit the space image on desktop.

Pull request closed

Sign in to join this conversation.