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

remove white space before <notifier-container></notifier-container> #113

Closed
lidroider opened this issue Nov 14, 2018 · 3 comments · Fixed by #204
Closed

remove white space before <notifier-container></notifier-container> #113

lidroider opened this issue Nov 14, 2018 · 3 comments · Fixed by #204
Labels
needs repro Indicates that this issue needs a reproduction before further steps can be taken type: bug Indicates an unintended behaviour, unexpected problem, crash

Comments

@lidroider
Copy link

Version 4.1.1, angular 6
I can't remove the white space before
If I set display: hidden in class notifier__container then notify don't display.
If I set display: block; height: 0px in class notifier__container then the white space still be there

image
In the image: red is <notifier-container></notifier-container>, blue is my main component, I want to Remove the white space
Please help me
Thanks

@sandeepsuvit
Copy link

sandeepsuvit commented Feb 11, 2019

This can be fixed by wrapping the component in a div and marking its height as 0.

  1. app.component.html
<div class="notifier">
    <notifier-container></notifier-container>
</div>
  1. app.component.css
.notifier {
    height: 0;
    overflow: hidden;
}

@dominique-mueller dominique-mueller added needs repro Indicates that this issue needs a reproduction before further steps can be taken type: bug Indicates an unintended behaviour, unexpected problem, crash labels Oct 18, 2019
@dominique-mueller
Copy link
Owner

I'm not able to see this issue in the demo application. Perhaps it's due to custom styles you have in your application? Any chance you can create a reproduction of this issue?

@dominique-mueller
Copy link
Owner

Released with 9.0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Indicates that this issue needs a reproduction before further steps can be taken type: bug Indicates an unintended behaviour, unexpected problem, crash
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants