nya-bootstrap-select icon indicating copy to clipboard operation
nya-bootstrap-select copied to clipboard

css button styling

Open michahell opened this issue 10 years ago • 1 comments

Is there a way to, for example, add the class btn-sm to the transcluded dropdown button? The default button is way too big in the bootstrap template i'm using.

Right now i've tackled it like this:

.user-menu-dropdown > button {
  padding: 9px 13px;
  font-size: 13px;
  line-height: 1.385;
  border-radius: 4px;
}

where the css rules are the styling for a bootstrap btn-sm and .user-menu-dropdown is added to the main ol list item as classname.

michahell avatar Jul 02 '15 22:07 michahell

button size class is implementing but not has been released. If you look into the current master branch where the code at https://github.com/lordfriend/nya-bootstrap-select/blob/master/src/nya-bs-select.js#L82-L85 has already support the btn-sm, btn-lg, btn-xs. Notice that you cannot use button size class together with form-control class.

lordfriend avatar Jul 03 '15 02:07 lordfriend