Commit af1a2666 by Alexander Makarov

Fixes #2299: Date and time in request list is now never wrapped

parent c7d84390
......@@ -5,6 +5,7 @@ Yii Framework 2 debug extension Change Log
--------------------------
- Bug #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration (qiangxue)
- Enh #2299: Date and time in request list is now never wrapped (samdark)
- Enh #3088: The debug module will manage their own URL rules now (qiangxue)
- Enh #3103: debugger panel is now not displayed when printing a page (githubjeka)
- Enh #3108: Added `yii\debug\Module::enableDebugLogs` to disable logging debug logs by default (qiangxue)
......
......@@ -93,3 +93,7 @@ a.desc:after {
width: 12%;
font-weight: bold;
}
.nowrap {
white-space: nowrap;
}
\ No newline at end of file
......@@ -61,8 +61,9 @@ if (isset($this->context->module->panels['db']) && isset($this->context->module-
[
'attribute' => 'time',
'value' => function ($data) use ($timeFormatter) {
return $timeFormatter->asDateTime($data['time'], 'short');
return '<span class="nowrap">' . $timeFormatter->asDateTime($data['time'], 'short') . '</span>';
},
'format' => 'html',
],
'ip',
[
......
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