Skip to content

Commit

Permalink
Fixed inline code style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyxguo committed Apr 22, 2023
1 parent 3f419d0 commit e493076
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions obsidian.css
Original file line number Diff line number Diff line change
Expand Up @@ -853,13 +853,13 @@ h6 a.tag {
| INLINE CODE STYLING
**--------------------**/

.CodeMirror-activeline
/* .CodeMirror-activeline
span.cm-inline-code:not(.cm-formatting):not(.cm-hmd-indented-code):not(
.obsidian-search-match-highlight
) {
padding: 0 !important;
margin: 0 !important;
}
} */

.cm-formatting.cm-formatting-code.cm-inline-code.cm-list-1 {
color: var(--text-faint) !important;
Expand All @@ -868,16 +868,13 @@ h6 a.tag {
}

.cm-s-obsidian span.cm-inline-code:not(.cm-formatting-code) {
border-radius: 0.3rem;
color: var(--text-sub-accent);
opacity: 1;
background-color: rgba(235, 89, 224, 0.05) !important;
}

.cm-s-obsidian span.cm-inline-code.cm-formatting-code {
display: inline-flex;
max-width: 0.55rem;
min-width: 0.55rem;
.cm-s-obsidian span.cm-inline-code {
border-radius: 0.3rem;
opacity: 1;
background-color: rgba(235, 89, 224, 0.05) !important;
}

/**-------------------**
Expand Down

0 comments on commit e493076

Please sign in to comment.