Commit fe749e45 by Carsten Brandt

fixed issue with too long th columns in debugger

fixes #1787
parent b7800eca
......@@ -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;
}
......
......@@ -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' => [
......
......@@ -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) {
......
......@@ -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' => [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment