Content Macro body styles are missing

I want to render macro body of dynamic content macro , and i`ve used example from Dynamic Content Macro. I have tried different combos of css and js that i can expand through parameters in url, but none of them works as i expect.
As a result i have this:


Upper one is from rendering macro body, and bottom one is regular info panel. As you can see, whilst those two are same elements they are rendered differently. For me it looks like some styles are missing, but i am not sure about that

It was not a fix of current issue, but using Static Modules it was rendered fine without any additional actions