[BUGFIX] Separate icon and text in inline record control buttons 07/57407/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:28:09 +0000 (15:28 +0200)
Resolves: #85415
Releases: master, 8.7
Change-Id: I5cee4230bb415dcb3d7dfcd0aae7614489cec7eb
Reviewed-on: https://review.typo3.org/57407
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php

index 4ef669e..5db03f6 100644 (file)
@@ -406,7 +406,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>';
     }