Grid column headings are misaligned in HTML websites
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 70/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- css, html, scss
- 領域
- frontend
研究方向
回報者指出 src/resources/projects/website/navigation/quarto-nav.scss 約第 95 行處,網站導覽樣式很可能與 grid 的 .g-col-6 寬度發生衝突。先使用給定的兩個檔案重現(_quarto.yml 中包含 project: type: website,以及 index.qmd 中的 ::: grid 區塊),執行 quarto preview 並將視窗縮窄到超過 lg 中斷點;同時將同一個區塊作為獨立文件渲染,以確認差異。完成標準是:在 website 專案中,窄螢幕下 ## Left 和 ## Right 標題仍位於各自欄位下方,且不改變獨立輸出;應檢查 website 主題編譯後的 CSS,而不只是 SCSS 原始碼。
由索引模型根據 Issue 內容生成。
描述
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
Grid column headers are misaligned on narrow screens in HTML pages that are part of a website, but not standalone HTML documents.
_quarto.yml
project:
type: website
index.qmd
---
title: "Grid columns: headings misaligned below the lg breakpoint on narrow screens"
---
::: grid
::: {.g-col-6}
## Left
:::
::: {.g-col-6}
## Right
:::
:::
quarto preview in this directory looks like this on a wide monitor
When I make the window narrower, it looks like this
I think this is due to https://github.com/quarto-dev/quarto-cli/blob/7a77d06e959a1c4f0e7ac462b08d8b69a6717e48/src/resources/projects/website/navigation/quarto-nav.scss#L95 ?
Steps to reproduce
Create these two files in a fresh dir
_quarto.yml
project:
type: website
index.qmd
---
title: "Grid columns: headings misaligned below the lg breakpoint on narrow screens"
---
::: grid
::: {.g-col-6}
## Left
:::
::: {.g-col-6}
## Right
:::
:::
run quarto preview and play with the window width.
Actual behavior
No response
Expected behavior
No response
Your environment
- IDE: Positron 2026.11.1 build 4
- OS: MacOS 27.2.1
Quarto check output
❯ quarto check
Quarto 1.11.9
[✓] Checking environment information...
Quarto cache location: /Users/matti/Library/Caches/quarto
Project root: /Users/matti/Documents/quarto-repr
Project config: /Users/matti/Documents/quarto-repr/_quarto.yml
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.10.0: OK
Dart Sass version 1.101.0: OK
Deno version 2.9.8: OK
Typst version 0.15.1: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.11.9
Path: /Applications/quarto/bin
- 主要語言
- JavaScript
- 星號
- 6.2k
- 分支
- 492
- 平均合併
- 15 小時 15 分鐘
- 30 天內合併 PR
- 94
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
quarto-dev/quarto-cli 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 85/100
quarto-dev/quarto-cli#15408 ·
維護者通常 1 天內回覆
-
accessibility bug
難度 2/5 1-3 小時 新手友好度 79/100
quarto-dev/quarto-cli#15401 · 1 個 reaction ·
維護者通常 1 天內回覆
-
bug callouts docx regression
難度 2/5 1-3 小時 新手友好度 81/100
quarto-dev/quarto-cli#15394 · 2 則留言 ·
維護者通常 1 天內回覆
-
bug lightbox
難度 2/5 1-3 小時 新手友好度 76/100
quarto-dev/quarto-cli#15393 ·
維護者通常 1 天內回覆
-
accessibility bug website-navigation websites
難度 2/5 1-3 小時 新手友好度 75/100
quarto-dev/quarto-cli#15392 ·
維護者通常 1 天內回覆
查看 quarto-dev/quarto-cli 的全部 Issue
相似的 Issue
-
bug help wanted
難度 2/5 1-3 小時 新手友好度 80/100
LangerSword/gitone#7 ·
-
good first issue reliability security should-have
難度 2/5 1-3 小時 新手友好度 78/100
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 13 天內回覆
-
[BUG]: chunkSource protocol stripping truncates URLs or reads an inner scheme可能已有人在做 @Bensonbenyi 今天認領。 未關閉
難度 1/5 1 小時以內 新手友好度 88/100
Mintplex-Labs/anything-llm#7338 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆