rstudio / rstudio/bslib

Consider padding/gap to `accordion_panel()`

Open
#615 1 comment 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

And also add a bslib-gap-spacing class to accordion-body so that .form-group, <p>, etc don't have unnecessary margin-bottom

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

Locate the styles and implementation for accordion_panel() and the accordion-body element, then review how padding, gap spacing, and existing margins are applied. Done means accordion panels expose the requested spacing behavior and accordion-body content no longer has unnecessary bottom margins for elements such as .form-group and

.

Written by the indexing model from the issue text.

Assessment

Tech stack
scss
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.