quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.97k stars 328 forks source link

revealjs: ordered and unordered lists have inconsistent indentation #5500

Open aronatkins opened 1 year ago

aronatkins commented 1 year ago

Bug description

Using Quarto 1.3.340 on macOS 12.6.5, as included in the recent RStudio IDE daily 2023.05.0-daily+325, but this problem can be seen using that Quarto installation by itself, outside the IDE.

---
title: revealjs lists
format: revealjs
---

## Slide

This is some text.

1. first
2. second

This is more text.

* bullet
* bill

When rendered and viewed in Safari, the ordered list elements are not aligned with the other content.

image
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.1: OK
      Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.3.340
      Path: /Applications/RStudio.app/Contents/Resources/app/quarto/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.9.6
      Path: /Library/Developer/CommandLineTools/usr/bin/python3
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with python3 -m pip install jupyter

[✓] Checking R installation...........OK
      Version: 3.6.3
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/3.6/Resources/library
      knitr: 1.42.8
      rmarkdown: 2.20

[✓] Checking Knitr engine render......OK

Checklist

cscheid commented 1 year ago

Aggravatingly, this only happens on Safari, but not on Chrome or Firefox.

aronatkins commented 1 year ago

Glad to help! 😜

mcanouil commented 1 year ago

FYI, the items are aligned. It's the item markers that are right aligned.

cscheid commented 1 year ago

FYI, the items are aligned. It's the item markers that are right aligned.

But more generally, the behavior is inconsistent across Firefox and Chrome vs Safari

dragonstyle commented 11 months ago

I spent some timing fighting CSS selectors and revealJS itself and wasn't able to reliably position the markers. I am going to push this out for 1.5 and will take another shot then.