ensure tab text doesn't get cut off if tab titles are long (#2619)

This commit is contained in:
Tessa Thornton
2019-10-15 20:49:37 +00:00
committed by Wyatt Johnson
parent bae88f476e
commit 8409dbb4ea
10 changed files with 744 additions and 660 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class Tab extends React.Component<TabProps> {
return (
<li
className={styles.root}
className={cn(styles.root, classes.root)}
key={tabID}
id={`tab-${tabID}`}
role="presentation"
@@ -2,7 +2,7 @@
exports[`renders correctly 1`] = `
<li
className="Tab-root"
className="Tab-root Tab-root"
id="tab-three"
role="presentation"
>
@@ -6,7 +6,7 @@ exports[`renders correctly 1`] = `
role="tablist"
>
<li
className="Tab-root"
className="Tab-root Tab-root"
id="tab-one"
role="presentation"
>
@@ -27,7 +27,7 @@ exports[`renders correctly 1`] = `
</button>
</li>
<li
className="Tab-root"
className="Tab-root Tab-root"
id="tab-two"
role="presentation"
>
@@ -48,7 +48,7 @@ exports[`renders correctly 1`] = `
</button>
</li>
<li
className="Tab-root"
className="Tab-root Tab-root"
id="tab-three"
role="presentation"
>