@@ -528,9 +528,12 @@ td .commit-summary {
528528}
529529
530530.repository .view .issue .comment-list .timeline-item .comment-text-line {
531+ /* TODO: this "line-height" is not ideal (actually it is abused), many layouts depend on this magic value,
532+ for example: alignment of the header arrow and the avatar, view PR commit list left icon layout, dismiss review with reason, etc */
531533 line-height : 32px ;
532534 vertical-align : middle;
533535 color : var (--color-text-light );
536+ min-width : 0 ;
534537}
535538
536539.repository .view .issue .comment-list .timeline-item .comment-text-line .ui .label {
@@ -601,9 +604,6 @@ td .commit-summary {
601604 width : 100% ;
602605 margin : 0 ;
603606 }
604- .repository .view .issue .comment-list .comment .content .form .button : not (: last-child ) {
605- margin-bottom : 1rem ;
606- }
607607}
608608
609609.repository .view .issue .comment-list .comment .merge-section {
@@ -654,7 +654,7 @@ td .commit-summary {
654654
655655.repository .view .issue .comment-list .code-comment {
656656 border : 1px solid transparent;
657- margin : 0 ;
657+ padding : 8 px ;
658658}
659659
660660.repository .view .issue .comment-list .code-comment .comment-header {
@@ -664,6 +664,7 @@ td .commit-summary {
664664}
665665
666666.repository .view .issue .comment-list .code-comment .comment-content {
667+ margin-top : 6px ;
667668 margin-left : 24px ;
668669}
669670
@@ -1286,9 +1287,9 @@ td .commit-summary {
12861287 box-shadow : 0 0 0 3px var (--color-primary-alpha-30 ) !important ;
12871288}
12881289
1289- .comment : target .header ::before {
1290+ .comment : target .comment- header ::before {
12901291 border-right-color : var (--color-primary ) !important ;
1291- filter : drop-shadow (-3 px 0 0 var (--color-primary-alpha-30 )) !important ;
1292+ filter : drop-shadow (-4 px 0 0 var (--color-primary-alpha-30 )) !important ;
12921293}
12931294
12941295.code-comment : target ,
@@ -1308,14 +1309,17 @@ td .commit-summary {
13081309 padding : 0.5em 1rem ;
13091310 position : relative;
13101311 color : var (--color-text );
1311- min-height : 41px ;
13121312 display : flex;
13131313 justify-content : space-between;
13141314 align-items : center;
13151315 flex-wrap : wrap;
13161316 gap : 0.25em ;
13171317}
13181318
1319+ .comment-header .avatar-content-left-arrow {
1320+ min-height : 41px ; /* for a comment header with left arrow, the arrow is absolutely positioned, but the header content varies (for example: no "roles", etc), so it needs a min-height */
1321+ }
1322+
13191323.comment-header .avatar-content-left-arrow ::after {
13201324 border-right-color : var (--color-box-header );
13211325}
@@ -1339,14 +1343,18 @@ td .commit-summary {
13391343.comment-header-right {
13401344 display : flex;
13411345 align-items : center;
1342- gap : 0.5 em ;
1346+ gap : 6 px ;
13431347}
13441348
13451349.comment-header-right {
13461350 flex : 1 ;
13471351 justify-content : end;
13481352}
13491353
1354+ .comment-header-right > .item .action {
1355+ padding : 4px ; /* add some padding to make click area larger for the "item action ... ui dropdown" items */
1356+ }
1357+
13501358.comment-body {
13511359 background : var (--color-box-body );
13521360 border : none !important ;
0 commit comments