quarto-dev / quarto-dev/quarto-cli
Blank Space in Navbar When Activating Hypothesis.io
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Bug description
When activating Hypothesis.io it functions as expected, but creates an unexpected blank space in the right corner of the navbar. This doesn't seem to be the intended behavior.
comments:
hypothesis:
theme: clean
openSidebar: false
Steps to reproduce
To demonstrate the issue, I created a test repository: https://github.com/danielvartan/test
- Clone the repository.
- Remove or comment out the
commententry in_quarto.yml. - Render the document (
quarto render).
You'll notice that the blank space in the navbar disappears once Hypothesis.io is deactivated.
Expected behavior
Activating Hypothesis.io should not alter the website layout or introduce blank spaces.
Actual behavior
Activating Hypothesis.io introduce a blank space in the right corner of the navbar.
Your environment
IDE: RStudio 2024.09.1 Build 394
OS: Windows 11 x64 (build 26100)
sessionInfo()
#> R version 4.4.1 (2024-06-14 ucrt)
#> Platform: x86_64-w64-mingw32/x64
#> Running under: Windows 11 x64 (build 26100)
#>
#> Matrix products: default
#>
#>
#> locale:
#> [1] LC_COLLATE=Portuguese_Brazil.utf8 LC_CTYPE=Portuguese_Brazil.utf8
#> [3] LC_MONETARY=Portuguese_Brazil.utf8 LC_NUMERIC=C
#> [5] LC_TIME=Portuguese_Brazil.utf8
#>
#> time zone: America/Sao_Paulo
#> tzcode source: internal
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> loaded via a namespace (and not attached):
#> [1] digest_0.6.37 fastmap_1.2.0 xfun_0.49 glue_1.8.0
#> [5] knitr_1.49 htmltools_0.5.8.1 rmarkdown_2.29 lifecycle_1.0.4
#> [9] cli_3.6.3 reprex_2.1.1 withr_3.0.2 compiler_4.4.1
#> [13] rstudioapi_0.17.1 tools_4.4.1 evaluate_1.0.1 yaml_2.3.10
#> [17] rlang_1.1.4 fs_1.6.5
Created on 2024-12-10 with reprex v2.1.1
Quarto check output
$ quarto check
Quarto 1.7.2
[>] Checking environment information...
Quarto cache location: C:\Users\Daniel\AppData\Local\quarto
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.4.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.46.3: OK
Typst version 0.11.0: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.7.2
Path: C:\Users\Daniel\AppData\Local\Programs\Quarto\bin
CodePage: 1252
[>] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)
[>] Checking LaTeX....................OK
Tex: (not detected)
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....OK
Version: 3.12.7
Path: C:/Users/Daniel/AppData/Local/Programs/Python/Python312/python.exe
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with py -m pip install jupyter
[>] Checking R installation...........OK
Version: 4.4.1
Path: C:/PROGRA~1/R/R-44~1.1
LibPaths:
- C:/Users/Daniel/Documents/GitHub/test/renv/library/windows/R-4.4/x86_64-w64-mingw32
- C:/Users/Daniel/AppData/Local/R/cache/R/renv/sandbox/windows/R-4.4/x86_64-w64-mingw32/e0da0d43
knitr: 1.49
rmarkdown: 2.29
[>] Checking Knitr engine render......OK
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 the test repository and its _quarto.yml, focusing on the comment configuration that enables Hypothesis.io. Run quarto render with Hypothesis enabled and disabled, then compare the navbar layout; done means the enabled configuration no longer produces an unexpected blank space.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100