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 天内回复