You need to sign in to do that
Don't have an account?
Walid
How to display a Lightning Component that is launched from a Quick Action as 100% width?
Hi there,
I built a Lightning Component that is supposed to be launched from an Object Quick Action button. Unfortunately, the width of the Lightning Component is the default width of a quick action (50% I guess. How can I make the wodth of the component 100%?
I tried to add this to the cmp file, but the latest API doesn't allow the <Style> tag anymore in the cmp file:
I also tried to add it to the CSS file:
Did nto work either.
Error:(1, 1) FIELD_INTEGRITY_EXCEPTION - Markup for markup://c:RegistrationForm may not contain a <style> tag: Source
How can I do that?
Best,
Walid
I built a Lightning Component that is supposed to be launched from an Object Quick Action button. Unfortunately, the width of the Lightning Component is the default width of a quick action (50% I guess. How can I make the wodth of the component 100%?
I tried to add this to the cmp file, but the latest API doesn't allow the <Style> tag anymore in the cmp file:
<style> .slds-modal__container{ max-width: 100% !important; width:100% !important; } </style>
I also tried to add it to the CSS file:
.THIS .slds-modal__container{ max-width: 100% !important; width:100% !important; }
Did nto work either.
Error:(1, 1) FIELD_INTEGRITY_EXCEPTION - Markup for markup://c:RegistrationForm may not contain a <style> tag: Source
How can I do that?
Best,
Walid
Thank
Walid