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

pills: Add flex-wrap: wrap to pill container for all pills. #10060

Merged
merged 1 commit into from
Jul 25, 2018

Conversation

shubham-padia
Copy link
Member

@shubham-padia shubham-padia commented Jul 25, 2018

Fixes #10059.
In 66df4e3,
display: inline-flex was added to .pill-container but
flex-wrap: wrap was missing which forced overflow pills to be on
one line and made the pill text overflow vertically. This was not
observed in composebox pills as .pm_recipient .pill-container
already had a flex-wrap: wrap rule which has been removed in this
commit to avoid duplication.

Before:
selection_193

After:
selection_194

Fixes zulip#10059.
In 66df4e3,
`display: inline-flex` was added to `.pill-container` but
`flex-wrap: wrap` was missing which forced overflow pills to be on
one line and made the pill text overflow vertically. This was not
observed in composebox pills as `.pm_recipient .pill-container`
already had a `flex-wrap: wrap` rule which has been removed in this
commit to avoid duplication.
@timabbott timabbott merged commit 6162ea1 into zulip:master Jul 25, 2018
@timabbott
Copy link
Sponsor Member

Nice. Might be worth a quick check for whether any of the other CSS in the pm-recipient .pill_container block belongs in the generic one as well...

@shubham-padia
Copy link
Member Author

@timabbott I don't think any of the other CSS in the pm-recipient .pill_container block belongs in the generic one.

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