function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Leticia Monteiro Freitas 4Leticia Monteiro Freitas 4 

Size of Close Button Modal

Hi, 
I trying to change the size of modal close button. Can Anyone help me?User-added image
modalBody = content;
                component.find('overlayLib').showCustomModal({
                    body: modalBody, 
                    showCloseButton: true,
                    cssClass: "mymodal slds-modal_medium",
                    closeCallback: function() {
                        
                    }
                })


 
Ravi Dutt SharmaRavi Dutt Sharma
You need to override the css which is present on the close button. Do an inspect element and check the css which is applied on the close button, override the css in the css file of your lightning component.