Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent spacing after header #10983

Open
austin-hoover opened this issue Oct 5, 2024 · 4 comments
Open

Inconsistent spacing after header #10983

austin-hoover opened this issue Oct 5, 2024 · 4 comments
Assignees
Labels
bug Something isn't working html Issues with HTML and related web technology (html/css/scss) themes Related to HTML theming or any other style related issue (like highlight-style)
Milestone

Comments

@austin-hoover
Copy link

Bug description

On an HTML document, there is some padding after a section ends, before the next header. But it seems there is not much spacing above the first header on my website. See https://austin-hoover.github.io/blog/posts/2024-06-06_mentflow-part1.

First header, after preamble:
Image

Second header:
Image

This changed some time ago but I can't remember when.

Steps to reproduce

No response

Expected behavior

No response

Actual behavior

No response

Your environment

OS: MacOS Ventura 13.6

Quarto check output

quarto check

Quarto 1.5.57
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.2.0: OK
      Dart Sass version 1.70.0: OK
      Deno version 1.41.0: OK
      Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.5.57
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Using: Installation From Path
      Path: /Library/TeX/texbin
      Version: 2020

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

[✓] Checking Python 3 installation....OK
      Version: 3.10.13 (Conda)
      Path: /Users/austin/miniconda3/bin/python
      Jupyter: 5.7.2
      Kernels: ment-flow, python3

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

[✓] Checking R installation...........(None)

      Unable to locate an installed version of R.
      Install R from https://cloud.r-project.org/
@austin-hoover austin-hoover added the bug Something isn't working label Oct 5, 2024
@cscheid cscheid added the needs-repro Issues that are blocked until reporter provides an adequate reproduction label Oct 7, 2024
@cscheid
Copy link
Collaborator

cscheid commented Oct 7, 2024

we need a source document to be able to reproduce the issue.

@austin-hoover
Copy link
Author

_quarto.qmd:

project:
  type: website

index.qmd:

---
title: "Test"
---

Lorem ipsum odor amet, consectetuer adipiscing elit. Aliquet mollis molestie ullamcorper litora eu conubia. Tellus metus mus interdum ipsum morbi cubilia nec duis. Iaculis malesuada eget duis gravida congue. Donec sagittis nec nulla magna vehicula justo rhoncus dolor. Himenaeos sagittis curae rutrum mus maximus porttitor litora. Neque vestibulum facilisis pharetra vivamus mauris, lobortis per habitasse! Habitant est hac hac dis; pulvinar erat. Metus nec pulvinar elementum sodales ut nisi tellus.

## Header A

Maecenas pellentesque dictum ornare accumsan auctor est sapien odio. Ut sit litora pulvinar, consequat aenean id phasellus natoque turpis. Nunc blandit egestas facilisis lectus tortor vel vel ac. Erat parturient litora viverra, tempor facilisis eget nibh tristique. Quisque varius eros laoreet sit viverra luctus etiam. Justo inceptos lectus felis commodo pellentesque ut facilisis. Finibus netus dis egestas molestie magnis suscipit sociosqu porta. Tempus sed iaculis vivamus netus montes eu nulla placerat.

## Header B

Egestas cursus augue volutpat vestibulum ex pellentesque rhoncus tellus scelerisque. Sodales massa montes venenatis suscipit nostra varius dictum dui. Phasellus leo accumsan primis montes gravida curae. Nibh ad sapien ligula, posuere vehicula eros. Taciti et ullamcorper metus vel vehicula mi nisl platea. Egestas turpis consequat elementum imperdiet nascetur vestibulum. Conubia blandit curabitur interdum ligula natoque neque nostra orci pretium. Mus leo ultricies dapibus molestie varius nostra. Est velit sit auctor pretium diam sagittis.

quarto render:

Image

@mcanouil
Copy link
Collaborator

mcanouil commented Oct 7, 2024

Since this was made for Manuscript, there is likely a reason but for most HTML pages, I don't see why this rule was set.

@mcanouil mcanouil added html Issues with HTML and related web technology (html/css/scss) themes Related to HTML theming or any other style related issue (like highlight-style) and removed needs-repro Issues that are blocked until reporter provides an adequate reproduction labels Oct 7, 2024
@cscheid cscheid added this to the v1.6 milestone Oct 7, 2024
@cscheid cscheid self-assigned this Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working html Issues with HTML and related web technology (html/css/scss) themes Related to HTML theming or any other style related issue (like highlight-style)
Projects
None yet
Development

No branches or pull requests

3 participants