Skip to content

Commit

Permalink
fix CodeChange background
Browse files Browse the repository at this point in the history
  • Loading branch information
nighca committed Jan 24, 2025
1 parent fede735 commit 643318b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,11 @@ const codeHtml = computed(() => {
.addition,
.deletion {
:deep(pre) {
:deep(> pre) {
position: relative;
padding-left: 24px;
// Disable default background and show background from parent (addition/deletion)
background-color: transparent !important;
}
:deep(.line::before) {
position: absolute;
Expand Down

0 comments on commit 643318b

Please sign in to comment.