Gbuomprisco / ng2-material-dropdown

Angular 2 Material-like Dropdown Component
MIT License
37 stars 54 forks source link

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

Closed roanhawkeye closed 7 years ago

roanhawkeye commented 7 years ago

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.

roanhawkeye commented 7 years ago

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