mirror of
https://github.com/wassname/talk.git
synced 2026-09-11 12:51:33 +08:00
ensure tab text doesn't get cut off if tab titles are long (#2619)
This commit is contained in:
committed by
Wyatt Johnson
parent
bae88f476e
commit
8409dbb4ea
@@ -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"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user