Skip to content

Commit eb1344d

Browse files
committed
vertically center button in issue comments as well
1 parent d360b09 commit eb1344d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

web_src/less/markup/codecopy.less

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
animation: fadeout .2s both;
1212
}
1313

14+
/* comment content has 14px font size, reduce padding to make the button appear
15+
vertically centered on single-line content, like it does elsewhere */
16+
.repository.view.issue .comment-list .comment .markup .code-copy {
17+
padding: 9px;
18+
}
19+
1420
.markup .code-copy:hover {
1521
background: var(--color-secondary) !important;
1622
}

0 commit comments

Comments
 (0)