Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭 适合新手
#14,211 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
冷清
技术栈
scss
领域
frontend, web-dev

调研方向

先从 src/resources/projects/website/about/about.scss 开始,然后使用 trestles、marquee 和 broadside 模板,通过 quarto preview about.qmd 重现紧凑版 About 页面。将紧凑视图中的图像间距与 solana 和 jolla 进行比较;完成的标准是,在所有三个受影响的模板中,个人资料图像都不再接触顶部栏。

由索引模型根据 Issue 内容生成。

描述

about-page bug themes
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...
主要语言
JavaScript
星标
6k
派生
458
平均合并
1 天 3 小时
30 天内合并 PR
54

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

quarto-dev/quarto-cli 的其他 Issue

查看 quarto-dev/quarto-cli 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。