Skip to content

Commit

Permalink
File header tweaks (#21175)
Browse files Browse the repository at this point in the history
- 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">
  • Loading branch information
silverwind authored Sep 15, 2022
1 parent bf325d4 commit d3050e0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions web_src/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -409,10 +409,6 @@
font-size: .5em;
}

.file-info {
font-size: 13px;
}

.file-actions {
.btn-octicon {
line-height: 1;
Expand Down Expand Up @@ -3051,7 +3047,8 @@ td.blob-excerpt {
display: flex;
justify-content: space-between;
overflow-x: auto;
padding: 8px 12px !important;
padding: 6px 12px !important;
font-size: 13px !important;
}

.file-info {
Expand Down

0 comments on commit d3050e0

Please sign in to comment.