Skip to content

Commit d3050e0

Browse files
authored
File header tweaks (#21175)
- Remove non-matching selector - Set font-size on parent so `.mono` can correctly reduce it Before (font subjectively too big): <img width="1270" alt="Screenshot 2022-09-15 at 19 03 56" src="https://user-images.githubusercontent.com/115237/190466867-283e9c23-cbfa-457e-8dbe-94902e886cc7.png"> After: <img width="1266" alt="image" src="https://user-images.githubusercontent.com/115237/190467290-eb392007-5db2-4ab0-a5be-e7cfe4618dcc.png">
1 parent bf325d4 commit d3050e0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Diff for: web_src/less/_repository.less

+2-5
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,6 @@
409409
font-size: .5em;
410410
}
411411

412-
.file-info {
413-
font-size: 13px;
414-
}
415-
416412
.file-actions {
417413
.btn-octicon {
418414
line-height: 1;
@@ -3051,7 +3047,8 @@ td.blob-excerpt {
30513047
display: flex;
30523048
justify-content: space-between;
30533049
overflow-x: auto;
3054-
padding: 8px 12px !important;
3050+
padding: 6px 12px !important;
3051+
font-size: 13px !important;
30553052
}
30563053

30573054
.file-info {

0 commit comments

Comments
 (0)