Skip to content

scrollable revealjs slides with Numbered lists <10 are slightly cut off due to indentation #14411

@judgelord

Description

@judgelord

In Quarto ‘1.9.37’, numbered lists <10, some numbers are still slightly cut off on the left side, with both the global option scrollable: true and for one {.scrollable} slide when viewed in Safari.

Related to #5500, this happens in Safari, but not Firefox or Chrome EDIT for the default theme fonts

EDIT: This same issue happens in Chrome and Firefox with other fonts. Adding to the example below, theme: night or an scss file with just $font-family-sans-serif: 'Nunito Sans'; will produce this issue in Chrome and Firefox.

This also seems related to the fix in #4285 because lists >9 are now indented, and I don't recall seeing this before this issue fix (not sure why this altered the indent for lists <10)

Not sure if this is the same bug or a new one introduced by the fix, but numbered lists with <9 items are now cut off.

Minimal example:

---
format:
    revealjs:
        scrollable: true
---

Renders Incorrect

1. 1
1. 2
1. 3
1. 4
1. 5
1. 6
1. 7
1. 8
1. 9


## 

Renders correctly

1. 1
1. 2
1. 3
1. 4
1. 5
1. 6
1. 7
1. 8
1. 9
1. 10

The second slide renders correctly, but the first has most numbers partially cut off on the left.

Quarto Version 1.5.57

Originally posted by @judgelord in #4283

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingthemesRelated to HTML theming or any other style related issue (like highlight-style)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions