Move the "View on git.drupalcode.org" link
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3545004. -->
Reported by: [avpaderno](https://www.drupal.org/user/55077)
Related to !74
>>>
<p>On pages like <a href="https://api.drupal.org/api/drupal/core%21modules%21system%21tests%21modules%21hook_collector_on_behalf%21src%21Hook%21OnBehalfOfOtherModuleHook.php/11.x">OnBehalfOfOtherModuleHook.php</a>, the <em>View on git.drupalcode.org</em> is covered by the filename.</p>
<p><img src="https://www.drupal.org/files/issues/2025-09-04/f5b07e2aa1b3aad0a9070349d48ab9dc6906150b.png" alt="screenshot"></p>
<p>I took the screenshot on a window that was almost 1080-pixel wide.</p>
<p>Moving the link to be on the same line the <em>File</em> header is added would avoid this overlap.</p>
<p><img src="https://www.drupal.org/files/issues/2025-09-05/3d5bd1a2dea5bdf6419f707d4b901fa0f8a24ebd.png" alt="screenshot"></p>
<p>On <a href="https://api.drupal.org/api/drupal/core%21modules%21system%21tests%21modules%21hook_collector_on_behalf%21src%21Hook%21OnBehalfOfOtherModuleHook.php/class/OnBehalfOfOtherModuleHook/11.x">OnBehalfOfOtherModuleHook</a>, this does not happen: The <em>View on git.drupalcode.org</em> link is shown on the line after the one showing the filename.</p>
<p><img src="https://www.drupal.org/files/issues/2025-09-05/e54c6bd84536d471aa33395ba98b40ab7b9daf47.png" alt="screenshot"></p>
<p>I think the <em>View on git.drupalcode.org</em> link should be shown on the same line showing the <em>File</em> header in this case too.</p>
<p>I set the priority to Minor because there are probably few files with a long filename.</p>
issue