torchlight: show diff indicators next to line numbers, tweak margins

This commit is contained in:
John Bowdre 2024-06-20 22:16:01 -05:00
parent af2db08257
commit 486ee479ea
2 changed files with 4 additions and 3 deletions

View file

@ -41,8 +41,9 @@ Push the code away from the line numbers and
summary caret indicators.
*/
pre.torchlight .line-number,
pre.torchlight .summary-caret {
margin-right: 1rem;
pre.torchlight .summary-caret,
pre.torchlight .diff-indicator {
margin-right: 0.5rem;
}
/*********************************************

View file

@ -30,7 +30,7 @@ module.exports = {
// If there are any diff indicators for a line, put them
// in place of the line number to save horizontal space.
diffIndicatorsInPlaceOfLineNumbers: true,
diffIndicatorsInPlaceOfLineNumbers: false,
// When lines are collapsed, this is the text that will
// be shown to indicate that they can be expanded.