Skip to content

Commit

Permalink
fix($default-theme): indent-styled code is invisible (close: #609)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Jun 24, 2018
1 parent 62af972 commit fd46a26
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/default-theme/styles/code.styl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
line-height 1.4
padding 1.25rem 1.5rem
margin 0.85rem 0
background transparent
background-color $codeBgColor
border-radius 6px
overflow auto
code
color #fff
Expand All @@ -36,7 +37,8 @@ div[class*="language-"]
line-height 1.4
.highlighted
background-color rgba(0, 0, 0, 66%)
pre
pre, pre[class*="language-"]
background transparent
position relative
z-index 1
&::before
Expand Down

0 comments on commit fd46a26

Please sign in to comment.