quarto-dev / quarto-dev/quarto-cli
Add top padding to the profile image on a website's about page in compact view (trestles, marquee, broadside)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
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:
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
- Create a new website project:
quarto create project blog test title - (Optional) In
_quarto.yml, change the theme fromcosmotoceruleanfor better visibility - In
about.qmd, choose one oftrestles,marquee, orbroadsidetemplates - Run
quarto preview about.qmdin the created project's root directory - 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...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/resources/projects/website/about/about.scss, then reproduce the compact About page using the trestles, marquee, and broadside templates with quarto preview about.qmd. Compare their compact-view image spacing with solana and jolla; done means the profile image no longer touches the top bar in all three affected templates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scss
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100