However, when this component is rendered in PCF Test environment and also in Dynamics 365 Form as Custom Component, "gap" element of the style is stripped off. Due to which my components are not rendering properly on UI.
When same component is rendered in standard react app (create-react-app), it does gets rendered properly with "gap" element so most likely this issue is with PCF.
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.