Browse Source

fixed issue with too long th columns in debugger

fixes #1787
tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
fe749e45fb
  1. 4
      extensions/yii/debug/assets/main.css
  2. 1
      extensions/yii/debug/views/default/panels/db/detail.php
  3. 1
      extensions/yii/debug/views/default/panels/log/detail.php
  4. 1
      extensions/yii/debug/views/default/panels/profile/detail.php

4
extensions/yii/debug/assets/main.css

@ -28,12 +28,12 @@ ul.trace {
float: right;
}
td {
td, th {
white-space: pre-line;
word-wrap: break-word;
}
th {
.detail-grid-view th {
white-space: nowrap;
}

1
extensions/yii/debug/views/default/panels/db/detail.php

@ -9,6 +9,7 @@ use yii\grid\GridView;
echo GridView::widget([
'dataProvider' => $dataProvider,
'id' => 'db-panel-detailed-grid',
'options' => ['class' => 'detail-grid-view'],
'filterModel' => $searchModel,
'filterUrl' => $panel->getUrl(),
'columns' => [

1
extensions/yii/debug/views/default/panels/log/detail.php

@ -10,6 +10,7 @@ use yii\log\Logger;
echo GridView::widget([
'dataProvider' => $dataProvider,
'id' => 'log-panel-detailed-grid',
'options' => ['class' => 'detail-grid-view'],
'filterModel' => $searchModel,
'filterUrl' => $panel->getUrl(),
'rowOptions' => function ($model, $key, $index, $grid) {

1
extensions/yii/debug/views/default/panels/profile/detail.php

@ -8,6 +8,7 @@ use yii\helpers\Html;
echo GridView::widget([
'dataProvider' => $dataProvider,
'id' => 'profile-panel-detailed-grid',
'options' => ['class' => 'detail-grid-view'],
'filterModel' => $searchModel,
'filterUrl' => $panel->getUrl(),
'columns' => [

Loading…
Cancel
Save