Skip to content

Commit

Permalink
feat:deep selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
pdanpdan committed Oct 31, 2023
1 parent 0c05772 commit 6ecbab5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/CodeBlock/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -154,19 +154,19 @@ section
background-color: var(--vp-c-bg-alt)
&__description
&::v-deep p
:deep(p)
margin-block: 2px
&__demo
background-color: var(--vp-c-bg-alt)
&::v-deep p
:deep(p)
margin-block: 0
&__code
padding: 0
&::v-deep div[class*='language-']
:deep(div[class*='language-'])
margin: 0
border-radius: inherit
Expand Down

0 comments on commit 6ecbab5

Please sign in to comment.