Gbuomprisco / ng2-material-dropdown

Angular 2 Material-like Dropdown Component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to control the width of the drop-down button?.

roanhawkeye opened this issue · comments

Hi , first of all, thanks for creating and publishing this.

I would like to have a button with more width, but I noticed that on css class .ng2-dropdown-button, there is a "max-width: 150px;" that I do not know how to override so far. I tried deep on parent component, but I think is deprecated by now.

If I force the width for child elements on button, the button loss some of the structure and style.
Thanks in advance.

I recently discovered that I can override the css class from style.css.
Thanks