Skip to content

Commit f3d87da

Browse files
lunnytechknowlogick
authored andcommitted
Revert "Bugfix: Align comment label and actions to the right (#7024)" (#7055)
This reverts commit 0c432d2.
1 parent c2f3938 commit f3d87da

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

public/css/index.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,11 +531,11 @@ footer .ui.left,footer .ui.right{line-height:40px}
531531
.repository.view.issue .comment-list .comment .actions .item.tag{margin-right:5px}
532532
.repository.view.issue .comment-list .comment .actions .item.action{margin-top:6px;margin-left:10px}
533533
.repository.view.issue .comment-list .comment .content{margin-left:4em}
534-
.repository.view.issue .comment-list .comment .content>.header{font-weight:400;position:relative;padding:0 15px;color:#767676;background-color:#f7f7f7;border-bottom:1px solid #eee;border-top-left-radius:3px;border-top-right-radius:3px;justify-content:space-between}
534+
.repository.view.issue .comment-list .comment .content>.header{font-weight:400;padding:auto 15px;position:relative;color:#767676;background-color:#f7f7f7;border-bottom:1px solid #eee;border-top-left-radius:3px;border-top-right-radius:3px}
535535
.repository.view.issue .comment-list .comment .content>.header:after,.repository.view.issue .comment-list .comment .content>.header:before{right:100%;top:20px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}
536536
.repository.view.issue .comment-list .comment .content>.header:before{border-right-color:#d3d3d4;border-width:9px;margin-top:-9px}
537537
.repository.view.issue .comment-list .comment .content>.header:after{border-right-color:#f7f7f7;border-width:8px;margin-top:-8px}
538-
.repository.view.issue .comment-list .comment .content>.header .text{padding-top:10px;padding-bottom:10px}
538+
.repository.view.issue .comment-list .comment .content>.header .text{max-width:78%;padding-top:10px;padding-bottom:10px}
539539
.repository.view.issue .comment-list .comment .content .markdown{font-size:14px}
540540
.repository.view.issue .comment-list .comment .content .no-content{color:#767676;font-style:italic}
541541
.repository.view.issue .comment-list .comment .content>.bottom.segment{background:#f3f4f5}

public/less/_repository.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,16 +798,16 @@
798798
> .header {
799799
#avatar-arrow;
800800
font-weight: normal;
801+
padding: auto 15px;
801802
position: relative;
802-
padding: 0 15px;
803803
color: #767676;
804804
background-color: #f7f7f7;
805805
border-bottom: 1px solid #eeeeee;
806806
border-top-left-radius: 3px;
807807
border-top-right-radius: 3px;
808-
justify-content: space-between;
809808

810809
.text {
810+
max-width: 78%;
811811
padding-top: 10px;
812812
padding-bottom: 10px;
813813
}

templates/repo/diff/comments.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="content">
99
<div class="ui top attached header">
1010
<span class="text grey"><a {{if gt .Poster.ID 0}}href="{{.Poster.HomeLink}}"{{end}}>{{.Poster.GetDisplayName}}</a> {{$.root.i18n.Tr "repo.issues.commented_at" .HashTag $createdStr | Safe}}</span>
11-
<div class="ui actions">
11+
<div class="ui right actions">
1212
{{if and .Review}}
1313
{{if eq .Review.Type 0}}
1414
<div class="item tag">

0 commit comments

Comments
 (0)