Skip to content

Commit 7893b92

Browse files
committed
tweak line-height instead
1 parent f37f7e3 commit 7893b92

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

web_src/css/repo.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -342,16 +342,12 @@ td .commit-summary {
342342
width: 100%;
343343
font-weight: var(--font-weight-normal);
344344
font-size: 32px;
345-
line-height: 40px;
345+
line-height: 36px; /* vertically center text with the .issue-title-buttons. */
346346
margin: 0;
347347
padding-right: 0.25rem;
348348
overflow-wrap: anywhere;
349349
}
350350

351-
.repository.view.issue .issue-title#issue-title-display .issue-title-buttons {
352-
margin-top: 4px; /* the title's height is 40px, fine tune to align the buttons */
353-
}
354-
355351
.repository.view.issue .issue-title#issue-title-editor {
356352
padding-top: 4px;
357353
}

0 commit comments

Comments
 (0)