[BUGFIX] Separate icon and text in inline record control buttons 04/57404/2
authorMathias Brodala <mbrodala@pagemachine.de>
Thu, 28 Jun 2018 09:47:17 +0000 (11:47 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 28 Jun 2018 13:04:37 +0000 (15:04 +0200)
Resolves: #85415
Releases: master, 8.7
Change-Id: I5cee4230bb415dcb3d7dfcd0aae7614489cec7eb
Reviewed-on: https://review.typo3.org/57404
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de>
Tested-by: Björn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php

index 68233b2..8a56839 100644 (file)
@@ -405,7 +405,7 @@ class InlineControlContainer extends AbstractContainer
         }
         // Create the link:
         $icon = $icon ? $this->iconFactory->getIcon($icon, Icon::SIZE_SMALL)->render() : '';
-        $link = $this->wrapWithAnchor($icon . $title, '#', $attributes);
+        $link = $this->wrapWithAnchor($icon . ' ' . $title, '#', $attributes);
         return '<div' . ($className ? ' class="' . $className . '"' : '') . 'title="' . $title . '">' . $link . '</div>';
     }