mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 00:54:28 +00:00
Prevent .code-view from overriding font on icon fonts (#8614)
This commit is contained in:
parent
d8161ee3fd
commit
2f9a66a76c
@ -243,7 +243,7 @@ i.icon.centerlock{top:1.5em}
|
|||||||
.lines-commit .ui.avatar.image{height:18px;width:18px}
|
.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}
|
.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{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 table{width:100%}
|
||||||
.code-view .active{background:#fff866}
|
.code-view .active{background:#fff866}
|
||||||
.markdown:not(code){overflow:hidden;font-size:16px;line-height:1.6!important;word-wrap:break-word}
|
.markdown:not(code){overflow:hidden;font-size:16px;line-height:1.6!important;word-wrap:break-word}
|
||||||
|
@ -1063,7 +1063,7 @@ i.icon.centerlock {
|
|||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
|
|
||||||
* {
|
*:not(.fa):not(.octicon):not(.icon) {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-family: @monospaced-fonts, monospace;
|
font-family: @monospaced-fonts, monospace;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
|
Loading…
Reference in New Issue
Block a user