question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

This is rather discussion topic. Couldn’t the background color be a property (e.g. [popperBackground])?

I used your component and spent some time looking for a problem as the background of the tooltip was transparent. After some time I realized it is by default and started figuring out how to change it. As I cannot change the encapsulation in my component, I ended up setting

::ng-deep {
 .ngxp__container{ 
	background: #ffb0b0;
  }
}

in the component’s style (but ng-deep is deprecated so I would prefer some better solution).

I like the component but setting the background seems to me a bit complicated (perhaps not well documented) for the scenario everyone needs to solve (can’t imagine many cases the transparent background would fit).

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:21 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
tonysampericommented, May 28, 2018

@MrFrankel Alright. Everything seems ok! https://stackblitz.com/edit/mat-card-multiple-sections

Great job!

0reactions
tonysampericommented, May 28, 2018

@MrFrankel Testing… 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS background-color property - W3Schools
The background-color property sets the background color of an element. The background of an element is the total size of the element, including...
Read more >
background-color - CSS: Cascading Style Sheets | MDN
The background-color CSS property sets the background color of an element.
Read more >
CSS | background-color Property - GeeksforGeeks
The background-color property in CSS is used to specify the background color of an element. The background covers the total size of the ......
Read more >
How to Add & Change Background Color in HTML
To add background color in HTML, use the CSS background-color property. Set it to the color name or code you want and place...
Read more >
How to Set Background Color with HTML and CSS - W3docs
The background-color property is used to change the background color. Inserting it to the <body> element you will have a full colored cover...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found