UX: Improve git blob oneboxes (#30694)

Rearranges the info at the top of github/gitlab 'blob' oneboxes to make them easier to read
This commit is contained in:
David Taylor
2025-01-10 11:49:36 +00:00
committed by GitHub
parent 690ffcf1d5
commit ce97e51b63
6 changed files with 59 additions and 20 deletions

View File

@ -1,5 +1,9 @@
<h4><a href="{{link}}" target="_blank" rel="noopener">{{title}}</a></h4>
<div class="git-blob-info">
<a href="{{link}}" rel="noopener"><code>{{sha1}}</code></a>
</div>
{{^binary}}
{{^has_lines}}
{{#model_file}}