Skip to main content
Hi everybody,

based on this article (https://metillium.com/2018/04/collapsible-section-page-layout-record-display-lightning-components/) I've tried to adapt and implement a custom page layout with collapsible sections with lightning web component.

Currently everything works fine, BUT I didn't get it to work to open and close the section with transition so that is looks really smart.

Currently the ui looks like the following:

LWC: Pagelayout collapsible section

In comparison with the standard pagelayout there are very small differences for the layout.

The arrow looks like a fat arrow:

User-added image

Could you give me a hint how to implement a transition to that the ui looks really smoothly and how to make my custom component look like teh standard layout section?

Is there also the possibility to change the text color?

Unfortunately I have only rudimentary knowledge about CSS.

Best regards,

Christian

 

5 Antworten
0/9000