Skip to content

Commit fe06dd6

Browse files
committed
Add some padding around detailed commit message text.
1 parent dd9faee commit fe06dd6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

PBWebCommitController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ - (NSString *)htmlForHeader:(NSArray *)header withRefs:(NSString *)badges
278278
[all appendString:@"</div>"];
279279

280280
if (![subject isEqualToString:@""])
281-
[all appendString:[NSString stringWithFormat:@"<p>%@</p>",subject]];
281+
[all appendString:[NSString stringWithFormat:@"<p class='subjectDetail'>%@</p>",subject]];
282282

283283
return all;
284284
}

html/views/history/history.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ a.servicebutton {
104104
float: none;
105105
}
106106

107+
p.subjectDetail {
108+
padding: 5px;
109+
}
110+
107111
#files {
108112
margin-top: 1em;
109113
margin-left: 0.5em;

0 commit comments

Comments
 (0)