I am creating a custom LWC component that presents a list of Custom Metadata records using the same sort of styling that a default list of SObject Records would use. The mechanism works as described in e.g. Add Lightning Web Component to Lightning Tab.
But I get blue screen background not added by my LWC:
whereas the default list does not have that:
Any way to eliminate that blue background for a custom LWC lightning__Tab?
Best Answer
The blue part is always present on a Lightning Tab's background. You can "fix" this with a bit of a negative margin.
Aura
LWC
You may need to experiment with the exact margin you need, and you might need some additional selectors, but it's certainly possible to hide the entire background with a bit of patience.