Skip to content

Commit

Permalink
Merge pull request #4324 from traPtitech/fix/folded_codeBlock
Browse files Browse the repository at this point in the history
折りたたまれたコードブロックが角丸になるように
  • Loading branch information
dye8128 committed Jun 26, 2024
2 parents bedb7d5 + 339d673 commit f8dc9bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/UI/FoldableCodeBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ const toggle = (e: MouseEvent) => {
mask-image: linear-gradient(black 0% 60%, transparent 100%);
}
background: var(--markdown-code-background);
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
&[data-is-fold='false'] {
pre {
Expand Down

0 comments on commit f8dc9bb

Please sign in to comment.