Yii と YiiBooster でアプリを作成しています。TbProgress ウィジェットをtd
セルに入れると、その高さにはある種の下部パディング (20-30px など) があるようです。テーブルの行が必要以上に高くなるため、かなり悪いように見えます。
(ファイル内に)margin-bottom
定義済みの toがありましたが、削除しました。まだ高すぎます。40px
bootstrap.css
どこで変更できるかわかる方いますか?
これが私のコードです:
$this->widget('bootstrap.widgets.TbGridView', array(
'id' => 'invite-grid',
'type' => 'striped condensed',
'dataProvider' => $dataProvider,
'columns' => array(
'idProject',
'name',
array(
'header' => 'Postęp',
'value' => function($data)
{
Controller::widget('bootstrap.widgets.TbProgress', array(
'percent' => ($data->projectInvites +1 )/ $data->projectMaxInvites * 100,
));
},
'htmlOptions' => array (
'style' => ''
),
),
array(
'class' => 'bootstrap.widgets.TbButtonColumn'
)
)
));