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

fix Callout icon positioning #2400

Merged
merged 1 commit into from Apr 18, 2018
Merged

fix Callout icon positioning #2400

merged 1 commit into from Apr 18, 2018

Conversation

giladgray
Copy link
Contributor

Fixes #2388

Changes proposed in this pull request:

basically revert to 1.0 CSS icon approach where a class on parent adds padding-left and icon is position absolute.
move CALLOUT_ICON class from icon element to callout itself to apply this padding.

basically revert to CSS icon approach where a class on parent adds padding-left and icon is position absolute.
@giladgray giladgray requested a review from llorca April 18, 2018 01:22
@@ -26,8 +26,10 @@ Styleguide pt-callout
position: relative;
border-radius: $pt-border-radius;
background-color: rgba($gray3, 0.15);
width: 100%;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this fixes some layout issues with callouts in flex containers, where they'd extend waaaay off the edge of the page.

@blueprint-bot
Copy link

fix Callout icon positioning

Preview: documentation | landing | table

Copy link
Contributor

@llorca llorca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still looking great 👌

@giladgray giladgray merged commit db49d89 into develop Apr 18, 2018
@giladgray giladgray deleted the gg/fix-callout-icon branch April 18, 2018 18:19
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

3 participants