소스 검색

Merge pull request #599 from bhikkhu-kosalla-china/master

句子加边框
Bhikkhu China Kosalla 4 년 전
부모
커밋
bb9e000bd9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/term/note.js

+ 1 - 1
app/term/note.js

@@ -82,7 +82,7 @@ function note_init(input,channel="",editor="",lang="en") {
 
 		output += "</div>";
 
-		let newString = output.replace(/\{\{/g, '<span class="note_shell"><note info="');
+		let newString = output.replace(/\{\{/g, '<span class="note_shell"><note style="border: solid 2px var(--btn-bg-color);" info="');
 		newString = newString.replace(/\}\}/g, '" ></note></span>');
 
 		return newString;