Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

navbar: Fix stream + topic jump at 500px. #12336

Merged
merged 1 commit into from May 20, 2019

Conversation

YashRE42
Copy link
Collaborator

@YashRE42 YashRE42 commented May 16, 2019

Fixes a bug on the mobile web app caused by the refactor for navbar css.

GIFs or Screenshots:

before:
image

after:
image

@timabbott
Copy link
Sponsor Member

The vertical centering of e.g. Verona2 in the heading seems off in the "After" screenshot.

@YashRE42
Copy link
Collaborator Author

YashRE42 commented May 16, 2019

Right, I'll update this when I figure out a good way to fix that.
I wasn't sure if the vertical align was important on the small viewport.

@timabbott
Copy link
Sponsor Member

In general, we should always having things look non-broken, and that level of vertical misalignment definitely looks broken :)

This resolves a bug where the "stream" tab item would be missaligned
with the rest of navbar and leave some empty space.
@YashRE42
Copy link
Collaborator Author

@timabbott
Playing around in the inspector brought me to this solution,
after:
image

I'd expect this to affect other places but seems to be okay from my manual testing:
image

@timabbott timabbott merged commit 9b32c84 into zulip:master May 20, 2019
@timabbott
Copy link
Sponsor Member

I think it's OK because the CSS block just outside that one has a height of 50px already. Thanks @YashRE42!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants