Skip to content

Commit

Permalink
use padding instead of ThinSpace character
Browse files Browse the repository at this point in the history
to fix copying and pasting
  • Loading branch information
ajgeiss0702 committed Jan 3, 2025
1 parent 7f0de56 commit 9ce9d0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/lttstore/diff/CollectionProductsDiff.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"Removed " + beforeProduct.title +
"</a><br>";
} else {
html += "<span style='background-color: rgba(255, 0, 0, 0.2)' class='opacity-40'>&ThinSpace;</span><br>"
html += "<span style='background-color: rgba(255, 0, 0, 0.2)' class='opacity-40 pl-1'></span><br>"
}
removed.push(beforeProduct.title);
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/lttstore/diff/TextDiff.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
if((color === 'green' && displaying === "after") || (color === 'red' && displaying === "before")) {
html += "<span style='color:" + color + "'>" + text + "</span>";
} else {
html += "<span style='background-color:" + color + "' class='opacity-40'>&ThinSpace;</span>";
html += "<span style='background-color:" + color + "' class='opacity-40 pl-1'></span>";
}
}
})
Expand Down
2 changes: 1 addition & 1 deletion src/lib/lttstore/diff/VariantDiff.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"Removed " + beforeVariant.title +
"</span><br>";
} else {
html += "<span style='background-color: rgba(255, 0, 0, 0.2)' class='opacity-40'>&ThinSpace;</span><br>"
html += "<span style='background-color: rgba(255, 0, 0, 0.2)' class='opacity-40 pl-1'></span><br>"
}
removed.push(beforeVariant.title);
}
Expand Down

0 comments on commit 9ce9d0e

Please sign in to comment.