mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 14:12:10 +08:00
FIX: github onebox styles for commits (#25098)
This commit is contained in:
@ -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 {
|
||||
|
@ -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}}
|
||||
|
Reference in New Issue
Block a user