• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

GAumala / material-ui / 8
52%
master: 52%

Build:
Build:
LAST BUILD BRANCH: firefox-table-fix
DEFAULT BRANCH: master
Ran 19 Oct 2016 04:04AM UTC
Jobs 1
Files 137
Run time 9s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
8

push

travis-ci

GAumala
[Tabs] Let each tab set its own width

The Tab component has a new prop of type number: labelWidth. This number
is the width of the label in pixels. The user must either set this prop
to every tab or none. If this condition is not met, the ink bar is not
drawn, and a warning is displayed in the console.

The Tabs directory has a new file: TabUtils.js. For now this file
has a single function: calculateTabWidthAndInkbarPosition which is
necessary now that widths are variable. A test for this function has
been written in the TabUtils.spec.js file.

The docs have also been updated with information and an example for this
prop.

This solves issue #4420. This approach was suggested in #5301.

20 of 20 new or added lines in 2 files covered. (100.0%)

2537 of 4855 relevant lines covered (52.26%)

29.5 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/Tabs/Tabs.js
Jobs
ID Job ID Ran Files Coverage
1 8.1 19 Oct 2016 04:04AM UTC 0
52.26
Travis Job 8.1
Source Files on build 8
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8
  • b742e7e3 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc