Skip to content

Commit

Permalink
Prevent .code-view from overriding font on icon fonts (#8614) (#8627)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillep2k authored and lunny committed Oct 22, 2019
1 parent ece768a commit ccf5298
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ footer .ui.left,footer .ui.right{line-height:40px}
.lines-commit .ui.avatar.image{height:18px;width:18px}
.lines-code .bottom-line,.lines-commit .bottom-line,.lines-num .bottom-line{border-bottom:1px solid #eaecef}
.code-view{overflow:auto;overflow-x:auto;overflow-y:hidden}
.code-view *{font-size:12px;font-family:'SF Mono',Consolas,Menlo,'Liberation Mono',Monaco,'Lucida Console',monospace;line-height:20px}
.code-view :not(.fa):not(.octicon):not(.icon){font-size:12px;font-family:'SF Mono',Consolas,Menlo,'Liberation Mono',Monaco,'Lucida Console',monospace;line-height:20px}
.code-view table{width:100%}
.code-view .active{background:#fff866}
.markdown:not(code){overflow:hidden;font-size:16px;line-height:1.6!important;word-wrap:break-word}
Expand Down
2 changes: 1 addition & 1 deletion public/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ footer {
overflow-x: auto;
overflow-y: hidden;

* {
*:not(.fa):not(.octicon):not(.icon) {
font-size: 12px;
font-family: @monospaced-fonts, monospace;
line-height: 20px;
Expand Down

0 comments on commit ccf5298

Please sign in to comment.