Browse Source

调整icheck的css样式

wechat_public_accounts
blobt 5 years ago
parent
commit
d68f6a9372
  1. 2
      kcadmin/views/category/_form.php
  2. 4
      kcadmin/web/css/site.css

2
kcadmin/views/category/_form.php

@ -21,7 +21,7 @@ use blobt\widgets\Icheck;
<?php //$form->field($model, 'icon_type')->widget(Select2::className(), ["items" => $model::$iconType, "promptText" => false]) ?> <?php //$form->field($model, 'icon_type')->widget(Select2::className(), ["items" => $model::$iconType, "promptText" => false]) ?>
<?= $form->field($model, 'icon_type')->widget(Icheck::className(), ["items" => $model::$iconType]) ?>
<?= $form->field($model, 'icon_type')->widget(Icheck::className(), ["items" => $model::$iconType,'type' => "radio"]) ?>
<?= $form->field($model, 'description')->textarea(['rows' => 6]) ?> <?= $form->field($model, 'description')->textarea(['rows' => 6]) ?>

4
kcadmin/web/css/site.css

@ -43,6 +43,10 @@
box-shadow: none; box-shadow: none;
} }
.icheck-label-group {
padding-top: 2px;
}
.icheck-label-group label{ .icheck-label-group label{
margin-right: 20px; margin-right: 20px;
} }
Loading…
Cancel
Save