소스 검색

Fix missing highlight border (CSS)

### Reference Issues/PRs

Closes #48

### What does this implement fix?

- Appropriate stylesheet is missing border solid for line highlighting when not using TailwindCSS
Jrson 3 년 전
부모
커밋
8b54ca2412
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      README.md

+ 2 - 4
README.md

@@ -136,8 +136,7 @@ pre {
   padding-right: 16px;
   margin-left: -16px;
   margin-right: -16px;
-  border-left-width: 4px;
-  border-left-color: rgba(31, 41, 55, 0); /* Set code block color */
+  border-left: 4px solid rgba(0, 0, 0, 0); /* Set placeholder for highlight accent border color to transparent */
 }
 
 .code-line.inserted {
@@ -152,8 +151,7 @@ pre {
   margin-left: -16px;
   margin-right: -16px;
   background-color: rgba(55, 65, 81, 0.5); /* Set highlight bg color */
-  border-left-width: 4px;
-  border-left-color: rgb(59, 130, 246); /* Set highlight accent border color */
+  border-left: 4px solid rgb(59, 130, 246); /* Set highlight accent border color */
 }
 
 .line-number::before {