FIX: github onebox styles for commits (#25098)

This commit is contained in:
Kris
2024-01-02 17:29:56 -05:00
committed by GitHub
parent f999cde159
commit e8509ddf50
2 changed files with 16 additions and 9 deletions

View File

@ -480,6 +480,11 @@ pre.onebox code {
.github-info-container {
width: 100%;
overflow-x: hidden;
> span {
// TODO: remove in a few months
// replaced by .github-info in new commit oneboxes
grid-area: info;
}
}
.github-info {

View File

@ -29,6 +29,7 @@
<a href="{{link}}" target="_blank" rel="noopener">{{commit.message.lines.first}}</a>
</h4>
<div class="github-info">
<span>
Commit by
<a href="{{author.html_url}}" target="_blank" rel="noopener">
@ -38,6 +39,7 @@
in
<a href="{{link}}" target="_blank" rel="noopener">{{title}}</a>
</span>
</div>
{{/commit}}
{{#comment}}