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

[CORL-1201] Better use flex to align callout contents #3060

Merged
merged 3 commits into from Aug 3, 2020

Conversation

nick-funk
Copy link
Contributor

What does this PR do?

Better sets the flex alignment of the callout's content controls. Sets a flex-basis to properly size the icon and dismiss button (when present) and allows the contents (titles, body) to fill the remaining space.

As well, the icon and the dismiss/close button now align with one another because of the new justification and alignments. This also keeps the content body from shifting the icon and close button around.

Lastly, this fixes any wrapping issues that were previously possible depending on your screen width.

What changes to the GraphQL/Database Schema does this PR introduce?

None

How do I test this PR?

Make a callout appear somewhere on the stream. I recommend going into your Profile > Preferences > Email Notifications and changing something to get one to show up.

  • Edit the title length
  • Change to different responsive screen modes
  • See that the Callout always sizes/aligns correctly for all cases

@nick-funk nick-funk force-pushed the bug/CORL-1201-callout-dismiss branch from d31cec2 to 3727bc2 Compare July 31, 2020 16:00
@nick-funk nick-funk force-pushed the bug/CORL-1201-callout-dismiss branch from 3727bc2 to 665a1fa Compare July 31, 2020 16:49
@kgardnr kgardnr added this to the v6.4.0 milestone Jul 31, 2020
@kgardnr kgardnr modified the milestones: v6.4.0, v6.3.2 Jul 31, 2020
@wyattjoh wyattjoh merged commit 7dfc064 into master Aug 3, 2020
@wyattjoh wyattjoh deleted the bug/CORL-1201-callout-dismiss branch August 3, 2020 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants