Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở Phù hợp với người mới
#14,211 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
scss
Lĩnh vực
frontend, web-dev

Hướng nghiên cứu

Bắt đầu với src/resources/projects/website/about/about.scss, sau đó tái hiện trang About thu gọn bằng các template trestles, marquee và broadside với quarto preview about.qmd. So sánh khoảng cách của hình ảnh trong chế độ xem thu gọn với solana và jolla; được xem là hoàn tất khi hình ảnh hồ sơ không còn chạm vào thanh trên cùng trong cả ba template bị ảnh hưởng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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...
Ngôn ngữ chính
JavaScript
Star
6k
Fork
458
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
54

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của quarto-dev/quarto-cli

Tất cả issue của quarto-dev/quarto-cli

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.