rstudio / rstudio/bslib

Card in sidebar doesn't support full screen

Open
#1,008 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
569
Forks
72
Avg merge
1d 2h
Merged PRs (30d)
5

Description

Hello,

When placing a card inside a sidebar, the full screen functionality doesn't seem to work as expected, and the card will only expand to the dimensions of the sidebar.

Small example:

bslib::page_fillable(
    bslib::layout_sidebar(
        sidebar = bslib::sidebar(
            title = "Test",
            bslib::card("Side card", full_screen = TRUE)
        ),
        bslib::card("Main card", full_screen = TRUE),
    )
)

Tested with version 0.6.1 and with the latest code from GitHub.

Thanks,
Rick

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the provided bslib::page_fillable() example with a card inside a sidebar and a card in the main area. Trace the card and sidebar full-screen behavior, then verify that the sidebar card expands beyond the sidebar while the main card continues to work as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, r, scss
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.