How can I update the size of the modal to fit only the size of the text inside it.
This is what it currently looks like,
This is the my code for this
<aura:attribute name="recordId" type="Id"/>
<aura:attribute name="message" type="String" default=""/>
<aura:handler event="aura:waiting" action="{!c.waiting}"/>
<aura:handler event="aura:doneWaiting" action="{!c.doneWaiting}"/>
<aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
<aura:attribute name="isOpen" type="boolean" default="True"/>
<aura:if isTrue="{!v.isOpen}">
<div class="slds-modal__container">
<header class="slds-modal__header">
<h2 id="modal-heading-01" class="slds-text-heading_medium slds-hyphenate">Submit</h2>
</header>
<div class="slds-modal__content slds-p-around_medium" id="modal-content-id-1">
<div class="slds">
<form id="form">
<div class="slds-form--inline">
<div class="slds-form-element">
<div aura:id="uploading" class="notUploading">
<img src="/img/loading32.gif" alt="sending" class="small-spinner" /> Sending...
</div>
</div>
</div>
<div class="slds-form--inline">
<div class="slds-form-element" style="font-size:16px;">
<ui:outputText value="{!v.message}"/>
</div>
</div>
</form>
</div>
</div>
<footer class="slds-modal__footer">
<lightning:button variant="neutral"
label="Close"
onclick="{! c.closeModel }"
title="Close"
/>
</footer>
</div>
<div class="slds-backdrop "/>
</aura:if>
<!--###### MODAL BOX Part END Here ######-->
Since I used force:lightningQuickActionWithoutHeader
to remove the header and created my own, I used modal to replicate the feel of using force:lightningQuickAction
but I can't seem to fit the content to the modal.
I need your help guys, Thanks