Trying to get to the bottom of the following:
starting an enumerated list in a #revealjs #QuartoPub using #rStats (well, continuing from a different slide) at 7.
This results in 7, 8, 9, [as expected] 0, 1, 2 [ 10, 11 12 were expected] (image one).
The html code produced (image two) doesn't give any insight into why the enumerated list ends at 9 and returns to 0.
(actual html snip is in alt text)
Any clues what's happening? Is it something in the default css style? Where should I report it?
ps: narrowed down to when
format:
revealjs:
scrollable: true
Probably due to insufficient left padding.
Solution - a one liner css file
ol{
padding-left: 30px;
}
@DToher I guess it's clipped because the left-padding of the list is shortened. Can you put this online anywhere?
@christianp it happens when scrollable: true is set.
A minimal example is posted here: https://github.com/dtoher/QuartoIssues/
@DToher ta!
Yeah, it's just clipped out: increasing the padding-left on the <ol> tag to 1em is enough to show the tens digit
@christianp solved it. For completeness, I have added a set of solution files to the same repo.
It may still need flagging somewhere that the default behaviour isn't ideal in revealjs for ol when lists are long and scrollable = true.
When Quarto becomes more widely adopted this type of behaviour **is** a barrier to uptake.