Gbuomprisco / ng2-expansion-panels

Expansion Panels component for Angular 2
18 stars 3 forks source link

Remove margin-left attribute from expansion-panel__content #10

Closed jellevdp closed 4 years ago

jellevdp commented 7 years ago

Hi @Gbuomprisco,

Thanks for creating this module! I would like to suggest the following PR to give users of your module more freedom in what they can do with the content. Standard the expansion-panel-content has a left-margin of 25%. Although in some cases this might be nice, many users would probably like to be able to use the full width. To make the moduel more reusable it would be good to reduce the generated styling attributes. Since the div with the styling attribute expansion-pane__content is generated by the module, it's unnecessarily difficult to alter it.

Hope you can appreciate the suggestion and accept the PR.

Regards, jellevdp

PS. I just saw closed issue #2, however, the specs don't seem to mention anything about the content itself?