Button parameters - minimum width

Hi,

I am creating button components using Div + Headline elements. I want to have the default width set to match the width of the headline, but with the option to widen the width of the button where required by adding a min width parameter. I have the following CSS to match the width to the headline:

$el{
display:inline-block;
}

However, how to I then add a parameter for custom width? Is there a better way to achieve this?

Thank you in advance!

Not to worry, figured it out! Forgot to match paramater value to the min width field.

Hi @boera,

Great that you are able to figure this out.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.