소스 검색

句子块加边框

bhikkhu-kosalla-china 5 년 전
부모
커밋
f921260633
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;