Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

title block banner doesn't display in mobile view #5296

Closed
4 of 5 tasks
blacksqr opened this issue Apr 24, 2023 · 0 comments
Closed
4 of 5 tasks

title block banner doesn't display in mobile view #5296

blacksqr opened this issue Apr 24, 2023 · 0 comments
Assignees
Labels
bug Something isn't working listings triaged-to Issues that were not self-assigned, signals that an issue was assigned to someone. websites Issues creating websites
Milestone

Comments

@blacksqr
Copy link

blacksqr commented Apr 24, 2023

Bug description

I created a listing page with a title block banner and categories set to true, with a sidebar defined in _quarto.yml.

When each of those elements is specified and I view the page in my browser (Firefox or Chromium), the title banner displays.

When I switch to mobile view (e.g. ctrl-shift-m in Firefox), the title banner disappears.

To reproduce:

Create a new website project:

$ quarto create-project mysite --type website
$ quarto preview mysite

Edit _quarto.yml so its contents are as below. Note only the sidebar entry has been added:

project:
  type: website

website:
  title: "mysite"
  navbar:
    left:
      - href: index.qmd
        text: Home
      - about.qmd
  sidebar:
    - id: sidebar_id

format:
  html:
    theme: cosmo
    css: styles.css

Edit about.qmd as below:

---
title: "Listing Example"
listing:
  type: default
  categories: true
title-block-banner: true
---

After quarto preview has re-rendered the site with these edits, switch to mobile view. The title block with the text "Listing Example" is not displayed. If I remove the "title-block-banner", "categories" or "sidebar" entry, the title block is displayed in mobile view. It's the combination of the three features that causes the problem.

OS: Kubuntu 20.04

Quarto version: 1.3.282

Firefox version: 112.0.1

Chromium version: 111.0.5563.146 (Official Build) snap (64-bit)

Checklist

  • Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • Please format your issue so it is easier for us to read the bug report.
  • Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • Please document the operating system you're running. If on Linux, please provide the specific distribution.
  • Please provide the output of quarto check so we know which version of quarto and its dependencies you're running.
@blacksqr blacksqr added the bug Something isn't working label Apr 24, 2023
@allenmanning allenmanning added websites Issues creating websites listings labels Apr 25, 2023
@allenmanning allenmanning added the triaged-to Issues that were not self-assigned, signals that an issue was assigned to someone. label Apr 25, 2023
@allenmanning allenmanning added this to the v1.4 milestone Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working listings triaged-to Issues that were not self-assigned, signals that an issue was assigned to someone. websites Issues creating websites
Projects
None yet
Development

No branches or pull requests

3 participants