Skip to content

Commit

Permalink
Don't truncate package name in package details page title (#93716)
Browse files Browse the repository at this point in the history
  • Loading branch information
jen-huang authored Mar 5, 2021
1 parent 433b553 commit b310138
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@ export function Detail() {
)}
</EuiFlexItem>
<EuiFlexItem>
<EuiFlexGroup alignItems="center" gutterSize="m" className="eui-textTruncate">
<EuiFlexGroup alignItems="center" gutterSize="m">
<FlexItemWithMinWidth grow={false}>
<EuiText>
{/* Render space in place of package name while package info loads to prevent layout from jumping around */}
<h1 className="eui-textTruncate">{packageInfo?.title || '\u00A0'}</h1>
<h1>{packageInfo?.title || '\u00A0'}</h1>
</EuiText>
</FlexItemWithMinWidth>
{packageInfo?.release && packageInfo.release !== 'ga' ? (
Expand Down

0 comments on commit b310138

Please sign in to comment.