Issue #116 invalid

unable to change input size

Sw3rtas
created an issue

I can't change input width using .input-[mini/small/..], because //.grid-view .filters input, .grid-view .filters select // in bootstrap-yii.css:74 overwrites it. For example this one doesn't change column width: {{{

!php

$this->widget('ext.bootstrap.widgets.BootGridView', array( 'dataProvider' => $model->search(), 'filter' => $model, 'columns' => array( array( 'name' => 'id', 'filter' => CHtml::activeTextField($model, 'id', array('class' => 'input-mini')), ), 'name', ), )); }}}

Comments (5)

  1. Christoffer Niska repo owner

    Could you provide me with a use-case where you'd need to change the filter width.

    I've had a lot of trouble to get the filters to look nice so unless there's a really good reason for this I won't fix it.

  2. Log in to comment