mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Merge pull request #2879 from dakira/develop
use monospace font for wiki and issue textareas (fix #2869)
This commit is contained in:
		| @@ -1506,6 +1506,7 @@ footer .container .links > *:first-child { | |||||||
| } | } | ||||||
| .repository.view.issue .comment-list .comment .ui.form textarea { | .repository.view.issue .comment-list .comment .ui.form textarea { | ||||||
|   height: 200px; |   height: 200px; | ||||||
|  |   font-family: "Consolas", monospace; | ||||||
| } | } | ||||||
| .repository.view.issue .comment-list .comment .edit.buttons { | .repository.view.issue .comment-list .comment .edit.buttons { | ||||||
|   margin-top: 10px; |   margin-top: 10px; | ||||||
| @@ -1587,6 +1588,7 @@ footer .container .links > *:first-child { | |||||||
| } | } | ||||||
| .repository .comment.form .content textarea { | .repository .comment.form .content textarea { | ||||||
|   height: 200px; |   height: 200px; | ||||||
|  |   font-family: "Consolas", monospace; | ||||||
| } | } | ||||||
| .repository .label.list { | .repository .label.list { | ||||||
|   list-style: none; |   list-style: none; | ||||||
| @@ -1966,6 +1968,9 @@ footer .container .links > *:first-child { | |||||||
| .repository.wiki.start .ui.segment .mega-octicon { | .repository.wiki.start .ui.segment .mega-octicon { | ||||||
|   font-size: 48px; |   font-size: 48px; | ||||||
| } | } | ||||||
|  | .repository.wiki.new .CodeMirror .CodeMirror-code { | ||||||
|  |   font-family: "Consolas", monospace; | ||||||
|  | } | ||||||
| .repository.wiki.new .CodeMirror .CodeMirror-code .cm-comment { | .repository.wiki.new .CodeMirror .CodeMirror-code .cm-comment { | ||||||
|   background: inherit; |   background: inherit; | ||||||
| } | } | ||||||
|   | |||||||
| @@ -70,8 +70,8 @@ | |||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 	.header-wrapper { | 	.header-wrapper { | ||||||
| 		background-color: #FAFAFA;  | 		background-color: #FAFAFA; | ||||||
| 		margin-top: -15px;  | 		margin-top: -15px; | ||||||
| 		padding-top: 15px; | 		padding-top: 15px; | ||||||
|  |  | ||||||
| 		.ui.tabs.divider { | 		.ui.tabs.divider { | ||||||
| @@ -281,7 +281,7 @@ | |||||||
| 				#avatar-arrow; | 				#avatar-arrow; | ||||||
| 				&:after { | 				&:after { | ||||||
| 					border-right-color: #fff; | 					border-right-color: #fff; | ||||||
| 				}				 | 				} | ||||||
| 				.markdown { | 				.markdown { | ||||||
| 					font-size: 14px; | 					font-size: 14px; | ||||||
| 				} | 				} | ||||||
| @@ -456,6 +456,7 @@ | |||||||
| 					} | 					} | ||||||
| 					textarea { | 					textarea { | ||||||
| 						height: 200px; | 						height: 200px; | ||||||
|  | 						font-family: "Consolas", monospace; | ||||||
| 					} | 					} | ||||||
| 				} | 				} | ||||||
|  |  | ||||||
| @@ -531,6 +532,7 @@ | |||||||
| 			} | 			} | ||||||
| 			textarea { | 			textarea { | ||||||
| 				height: 200px; | 				height: 200px; | ||||||
|  |                 font-family: "Consolas", monospace; | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| @@ -992,8 +994,11 @@ | |||||||
|  |  | ||||||
| 		&.new { | 		&.new { | ||||||
| 			.CodeMirror { | 			.CodeMirror { | ||||||
| 				.CodeMirror-code .cm-comment { | 				.CodeMirror-code { | ||||||
| 					background: inherit; | 					font-family: "Consolas", monospace; | ||||||
|  | 					.cm-comment { | ||||||
|  | 						background: inherit; | ||||||
|  | 					} | ||||||
| 				} | 				} | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
| @@ -1302,7 +1307,7 @@ | |||||||
| 		border-right-color: #D4D4D5; | 		border-right-color: #D4D4D5; | ||||||
| 		border-width: 9px; | 		border-width: 9px; | ||||||
| 		margin-top: -9px; | 		margin-top: -9px; | ||||||
| 	}	 | 	} | ||||||
| 	&:after { | 	&:after { | ||||||
| 		border-right-color: #f7f7f7; | 		border-right-color: #f7f7f7; | ||||||
| 		border-width: 8px; | 		border-width: 8px; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user