Skip to content

Add top padding to the profile image on a website's about page in compact view (trestles, marquee, broadside) #14211

@rnd195

Description

@rnd195

I have:

  • searched the issue tracker for similar issues
  • installed the latest version of Quarto CLI
  • formatted my issue following the Bug Reports guide

Bug description

When you create a website using Quarto and go to the "About" page in compact view (e.g. on your phone or with a narrow browser window), the profile.jpg image has no top padding in the trestles, marquee and broadside templates. In the solana and jolla template, there is some top padding added to the image, as demonstrated below:

5 screenshots demonstrating missing top padding in some templates

Importantly, when the website is viewed in a normal browser window (i.e., no compact view), there is some top padding present, even in the three templates.

I am willing to open a pull request on this issue -- I believe that it can be resolved relatively simply by adding a few rules to the about.scss file (already tested that myself on a fork).

Steps to reproduce

  1. Create a new website project: quarto create project blog test title
  2. (Optional) In _quarto.yml, change the theme from cosmo to cerulean for better visibility
  3. In about.qmd, choose one of trestles, marquee, or broadside templates
  4. Run quarto preview about.qmd in the created project's root directory
  5. Make the browser window narrower to enter compact view (or open the website on your phone)

Actual behavior

The profile images have no top padding in compact view when using trestles, marquee, or broadside.

Expected behavior

The images should not touch the top bar in the trestles, marquee and broadside templates in compact view. There should be some top padding added, just like in the solana and jolla templates.

Your environment

No response

Quarto check output

Quarto 1.9.32
[>] Checking environment information...
      Quarto cache location: C:\Users\Martin\AppData\Local\quarto
[>] Checking versions of quarto binary dependencies...
      Pandoc version 3.8.3: OK
      Dart Sass version 1.87.0: OK
      Deno version 2.4.5: OK
      Typst version 0.14.2: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
      Version: 1.9.32
      Path: C:\Users\Martin\AppData\Local\Programs\Quarto\bin
      CodePage: 1250

[>] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)
      Chrome Headless Shell: (not installed)
      VeraPDF: (not installed)

[>] Checking LaTeX....................OK
      Tex:  (not detected)

[>] Checking Chrome Headless....................OK
      Using: Chrome found on system
      Path: C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
      Source: Windows Registry

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

(/) Checking R installation............Rprofile error: there is no package called 'startup'
[>] Checking R installation...........OK
      Version: 4.5.2
      Path: C:/PROGRA~1/R/R-45~1.2
      LibPaths:
        - C:/Program Files/R/R-4.5.2/library
      knitr: (None)
      rmarkdown: (None)

      The knitr package is not available in this R installation.
      Install with install.packages("knitr")
      The rmarkdown package is not available in this R installation.
      Install with install.packages("rmarkdown")

[>] Checking Python 3 installation....OK
      Version: 3.13.12
      Path: C:/Python313/python.exe
      Jupyter: (None)

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

[>] Checking Julia installation...

Metadata

Metadata

Assignees

No one assigned

    Labels

    about-pagebugSomething 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