Skip to content

[Tabs] Width not fully functional #1203

@inoc603

Description

@inoc603

I'm trying to set the width of tabs through tabWidth property of Tabs, as in the following code:

<Tabs tabWidth={75}>
  <Tab label='tab 1'>
    <h1>tab 1</h1>
  </Tab>
  <Tab label='tab 2' >
    <h1>tab 2</h1>
  </Tab>
</Tabs>

But in the rendered page, only the width of the ink bar under the tab is changed, and the actual tab's width didn't change. Any idea how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: tabsChanges related to the tabs.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions