diff --git a/Resources/Private/Partials/BaseDocHeader.html b/Resources/Private/Partials/BaseDocHeader.html
index a3914edf4ece63ce145e74225344bbb452bae400..622fa829cbc870037cc1b921dc3b34b5c80866a8 100644
--- a/Resources/Private/Partials/BaseDocHeader.html
+++ b/Resources/Private/Partials/BaseDocHeader.html
@@ -8,7 +8,7 @@
 	<a href="https://www.sgalinski.de/" target="_blank" rel="noopener noreferrer"
 	   title="Created by the TYPO3 agency sgalinski">
 		<img src="{f:uri.resource(path: 'Icons/logo-icon.svg')}" alt="Sgalinski Logo"
-			 style="width: 34px; height: 25.75px;"/>
+			 style=" height: 25.75px; margin-right: 0.5rem;"/>
 	</a>
 	<f:render partial="Backend/ButtonBar" arguments="{buttons:docHeader.buttons.right}"/>
 </div>
diff --git a/Resources/Public/StyleSheets/backend.css b/Resources/Public/StyleSheets/backend.css
index cb7b1604a64a12180f8fcd06183518dd7769b172..e5504009d2c3d9452484b7447a80ff3b9d979905 100644
--- a/Resources/Public/StyleSheets/backend.css
+++ b/Resources/Public/StyleSheets/backend.css
@@ -6,9 +6,10 @@
 	margin-top: 10px;
 }
 
-.btn-sm {
-	margin-left: 5px;
-}
+/*removed because it obstructed the dochead if needed can be put back but then dochead has margin in buttonbar*/
+/*.btn-sm {*/
+/*	margin-left: 5px;*/
+/*}*/
 
 .editor-description {
 	padding: 10px;