Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • You'll probably have to roll your own - I think it's how the shadow dom kind of interferes with nested child components and their styles. Commented Nov 27, 2019 at 18:00
  • I mean... there's not much to a card so you can just do this: developer.salesforce.com/docs/component-library/tools/… Commented Nov 27, 2019 at 18:06
  • 1
    Sure, I can just write whatever the card spawns manually, starting from article onwards, but what’s the point in a component library if components do not work? Commented Nov 27, 2019 at 18:19
  • 1
    If I am getting this right, and that you need a related list experience as you see on desktop, you will need to utilize different lightning-card components here. Is this how you expect this to be rendered? Commented Nov 27, 2019 at 18:34
  • @JayantDas That's very close, yes. slds-card seems wrong as it introduces additional padding, but other classes do bring it closer to the experience. Most importantly, is this sort of visual behaviour documented somewhere, or do I just go to standard interfaces and inspect to see what's going on? Commented Nov 27, 2019 at 18:39