Skip to content

Commit

Permalink
fix: inconsistent appearance of inline code, in lists, in light theme (
Browse files Browse the repository at this point in the history
…#159)

* chore: add code blocks in list

* fix: inconsistent code style in lists in light mode closes #158
  • Loading branch information
hugo-sid authored Dec 22, 2023
1 parent b8b4753 commit a0129f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion assets/sass/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ code {
word-wrap: normal;
font-size: inherit;
}

// Inline code
li>code,
p > code {
font-size: 0.9em;
padding: 1px 3px;
Expand Down
4 changes: 2 additions & 2 deletions exampleSite/content/en/posts/markdown-syntax/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@ Use the backtick to refer to a `variable` within a sentence.
### Ordered List

1. First item
2. Second item
2. Second item with some `code` in it
3. Third item

### Unordered List

* List item
* Another item
* Another item with some `code` in it
* And another item

### Nested list
Expand Down

0 comments on commit a0129f7

Please sign in to comment.