This seems like a very simple question but not one i have tackled in cornerstone before as i have used the button element most of the time.
I am looking to build button components and have followed the video tutorial but i would like the buttons to auto size to the width of the text inputted by the end user rather than the div expanding to the full width of the containing column. The built in button element automatically sizes to the text placed within it. I can sort of achieve the same effect by changing its position to Absolute rather than relative but this doesn’t seem to be the correct way to achieve the same behaviour as the built in button element.
Any advice on how to build a custom button which has the same width characteristics as the built in button element would be much appreciated