Tabs/Tab - missing padding between Tab Control & Tab Content
See original GitHub issueQuestion on Tabs
, there previously was padding between the tab bar and the tab content.
Do we now need to use the Styles API to inject some padding, or is the below a bug.
No padding at all - which is strange because even in the docs there is padding. See the highlighted text butts up against the outline tab bar. This is happening across all the tabs in my app (using mix of default and outline variants).
My App (seems broken):
Mantin Docs (works correctly!):
The immediate child inside the <Tab>
is a <form>
- but not sure why that would make a difference.
Other tabs which are affected have <Text>
or vanilla <div>
as the immediate children.
Code for my screenshot:
<div style={{ position: 'relative' }}>
<LoadingOverlay visible={loading} />
<Tabs variant="outline">
<Tab
disabled={disableTabs}
icon={<FontAwesomeIcon icon={faAddressCard} />}
label="Profile"
>
<form>...</form>
</Tab>
</Tabs>
</div>
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
WPF tab control spacing between headers - Stack Overflow
Select the Tab you want to move, by starting with the rightmost tab. Then hold ctrl and use the right arrow key to...
Read more >Open and close tabs in Safari on iPad - Apple Support
Touch and hold the New Tab button , then choose from the list of recently closed tabs. The Safari sidebar on the left...
Read more >Work with tabs in Illustrator - Adobe Support
Tabs are the simplest way to align objects in your Illustrator artwork. You can use the Tabs panel to set tab stops for...
Read more >Set tab stops and paragraph indents in Microsoft Word
On the Home tab, in the Paragraph group, choose Paragraph Settings. Click the Tabs button. Set the Tab stop position, choose the Alignment...
Read more >Example of Tabs with Manual Activation | APG | WAI - W3C
In this example, a panel is displayed when users activate its tab with either Space , Enter , or a mouse click. So,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, that’s changed in 2.0.0, I forgot to put it in changelog, anyway I’ll add
tabPadding
prop and it will be the same as in 1.3 by defaultResolved with #135