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

Button inside of Callout will display icon in absolute position #2472

Closed
anigenero opened this issue May 7, 2018 · 0 comments · Fixed by #2538
Closed

Button inside of Callout will display icon in absolute position #2472

anigenero opened this issue May 7, 2018 · 0 comments · Fixed by #2538

Comments

@anigenero
Copy link

Bug report

  • Package version(s): 2.3.1
  • Browser and OS versions: All

Steps to reproduce

<Callout intent={Intent.WARNING} title={"Some title"}>
    <Button icon={IconNames.ADD} intent={Intent.WARNING}
                            text={"Click Me"} />
</Callout>

Actual behavior

Icon for Button will display in the upper left corner of the Callout along with the Callout icon

I attached Chrome styling output for reference

screen shot 2018-05-07 at 4 41 06 pm

screen shot 2018-05-07 at 4 37 53 pm

Expected behavior

Icon shows inside of button

Possible solution

Possible CSS attribute for the callout icon to differentiate it from the Button icon

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment