Skip to content

Commit

Permalink
Feedback | Org Header | limiting website content
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Oct 3, 2024
1 parent 9576add commit 0f04ddf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/orgs/OrgHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import FollowActionButton from '../common/FollowActionButton'

const Property = ({icon, value, label}) => {
return (label || value) ? (
<span style={{width: 'auto', maxWidth: '500px', display: 'flex', alignItems: 'center', marginRight: '16px'}}>
<span style={{display: 'flex', alignItems: 'center', marginRight: '16px'}}>
<span style={{minWidth: 0, marginRight: '4px', display: 'flex'}}>
{icon}
</span>
<Typography sx={{whiteSpace: 'nowrap', textOverflow: 'ellipsis', overflow: 'hidden', fontSize: '14px', color: 'secondary.main'}} component="span">
<Typography sx={{maxWidth: '200px', whiteSpace: 'nowrap', textOverflow: 'ellipsis', overflow: 'hidden', fontSize: '14px', color: 'secondary.main'}} component="span">
{label || value}
</Typography>
</span>
Expand Down

0 comments on commit 0f04ddf

Please sign in to comment.