1

I'm having quite a bit of trouble with the changes made to LWC OSS. How do I get rid of these margins on the wrapper shown in the image? I can't seem to edit the styling of the html page itself. Only the individual components. If someone could enlighten me on this I'd appreciate it. How I used to remember this being done, you actually had access to this html document itself and could edit it (with the entry component going into div with id of 'main'). I also had to use JS to change the document.title. How can I access the html itself? Super confused with these changes.

enter image description here

1
  • 1
    So I was able to fix this by putting "document.body.style.margin = 0;" inside a renderedCallback. Had to do that as well to set the title of the page. Any better way of doing this?
    – Ethan
    Jun 5, 2022 at 22:53

0

You must log in to answer this question.

Browse other questions tagged .