diff --git a/Build/Resources/Public/Less/TYPO3/_element_table.less b/Build/Resources/Public/Less/TYPO3/_element_table.less index 0facac699ef852bc466fd0ec621bc4677939ac00..ec3256ab61c408c7ff9afbf5cdd8eedda522bc44 100644 --- a/Build/Resources/Public/Less/TYPO3/_element_table.less +++ b/Build/Resources/Public/Less/TYPO3/_element_table.less @@ -114,7 +114,7 @@ table { .col-nowrap, .col-control, .col-clipboard { - white-space: nowrap; + white-space: nowrap!important; } .col-control, .col-clipboard { diff --git a/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php b/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php index 74be181ea8796e419cca18e0542155adf5f37282..69067f8f8880b4e5615080e947d9caf237c2b1bf 100644 --- a/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php +++ b/typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php @@ -396,16 +396,22 @@ class ElementInformationController /** @var Avatar $avatar */ $avatar = GeneralUtility::makeInstance(Avatar::class); $icon = $avatar->render($creatorRecord); - - $rowValue = '<span class="pull-left">' . $icon . '</span>' . - '<strong>' . htmlspecialchars($GLOBALS['BE_USER']->user['username']) . '</strong><br />' - . ($GLOBALS['BE_USER']->user['realName'] ? htmlspecialchars($GLOBALS['BE_USER']->user['realName']) : ''); + $rowValue = ' + <div class="media"> + <div class="media-left"> + ' . $icon . ' + </div> + <div class="media-body"> + <strong>' . htmlspecialchars($GLOBALS['BE_USER']->user['username']) . '</strong><br> + ' . ($GLOBALS['BE_USER']->user['realName'] ? htmlspecialchars($GLOBALS['BE_USER']->user['realName']) : '') . ' + </div> + </div>'; } } $tableRows[] = ' <tr> - <th>' . rtrim($fieldLabel, ':') . '</th> + <th class="col-nowrap">' . rtrim($fieldLabel, ':') . '</th> <td>' . ($name === 'cruser_id' ? $rowValue : htmlspecialchars($rowValue)) . '</td> </tr>'; } @@ -434,7 +440,7 @@ class ElementInformationController $itemLabel = $lang->sL(BackendUtility::getItemLabel($this->table, $name), true); $tableRows[] = ' <tr> - <th>' . $itemLabel . '</th> + <th class="col-nowrap">' . $itemLabel . '</th> <td>' . htmlspecialchars($itemValue) . '</td> </tr>'; } diff --git a/typo3/sysext/t3skin/Resources/Public/Css/backend.css b/typo3/sysext/t3skin/Resources/Public/Css/backend.css index b9b4663e94f10fae00d7591b849af5d0b83b9618..6cc6b421f987c4bf332f50558e6bec27ad462140 100644 --- a/typo3/sysext/t3skin/Resources/Public/Css/backend.css +++ b/typo3/sysext/t3skin/Resources/Public/Css/backend.css @@ -10702,7 +10702,7 @@ fieldset[disabled] .table .btn-default.active { .table .col-nowrap, .table .col-control, .table .col-clipboard { - white-space: nowrap; + white-space: nowrap!important; } .table .col-control, .table .col-clipboard {