Skip to main content
Hi There! I'm stuck with a small issue here. I have two buttons Save & Cancel with class set to 'slds-hide'.

 

I have an ui:inputTextArea that is setup to call a function when there is some change in the content of the TextArea,

 

In that function, I'm setting the class of the buttons to 'slds-show', But the issue with buttons is that they are getting displayed to the left side instead of center. Any Idea how i can make them displayed in center. Thanks!!!

 

Lightning:button not aligning to center

 

I'm using these buttons inside of Lightning:card under footer section.
10 件の回答
0/9000