reactjs / reactjs/react-tabs

How do I make the contents in the TabPanel occupy the div 100%?

Open
#421 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
3.1k
Forks
455
Avg merge
5h 9m
Merged PRs (30d)
2

Description

How do I make the contents in the TabPanel occupy the div 100%? for example, see the div in the below image "Any content 1" I'd like to put it right after the line that split the tab control items so that there's no padding over there. How can I do that with react-tabs lib?

image:

https://imgur.com/a/L99KQPl

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

The issue identifies a TabPanel layout question in react-tabs and links an example image, but names no source file or test. Start by reproducing the shown TabPanel layout and locating the component's styling entry points; done means the content reaches the divider without the unwanted padding.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.