Skip to main content
Soumen Jana1 님이 #Lightning Experience에 질문했습니다
Hi,

I am stuck with the width of modal window pos up when someone clicks on a quick action. I saw there is a option to adjust the height.

But i am not able to adjust the width of modal window at all. Tried all possibilities.

Kindly help me on this.
답변 5개
  1. 2017년 7월 25일 오전 12:18
    Create a parent component with the following markup and add your child component in the placeholder specified. Invoke the parent component in the lightning action:

     

    <div aura:id="thecontainer" class="thecontainer" id="thecontainer">

    <div role="dialog" tabindex="-1" aria-labelledby="header43" class="slds-modal slds-fade-in-open slds-modal--large" >

    <div class="slds-modal__container">

    <div class="slds-modal__header">

    <h2 id="header43" class="slds-text-heading--medium">My Title</h2>

    </div>

    <div class="slds-modal__content slds-p-top--x-large slds-p-around--medium" aura:id="modalbody" id="modalbody">

    <!-- your component goes here -->

    </div><!-- modal -->

    <div class="slds-modal__footer">

    <!-- Footer elements, if required -->

    </div>

    </div>

    </div>

    <div class="slds-backdrop slds-backdrop--open"></div>

    </div>

    If this answer helps, please mark it as the best answer.