fix: mobile room chat header layout #280
Reference in New Issue
Block a user
Delete Branch "userAdityaa/flotilla:top-bar-mobile"
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?
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
closes #259
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.
pushing the changes shortly.
ce7223b0ebto631dbed375I 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 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