Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1776 | Concept Breadcrumbs | formatting file
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Oct 17, 2024
1 parent e3acc0d commit 06b14f4
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions src/components/common/Breadcrumbs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,41 +39,41 @@ const Breadcrumbs = ({owner, ownerType, repo, repoVersion, repoURL, id, version,
repo && !hideParents &&
<React.Fragment>
<DotSeparator />
<RepoTooltip repo={{url: repoURL}}>
<RepoVersionButton
size={size}
href={repoURL}
icon={
noIcons ?
false :
<RepoIcon
noTooltip
sx={{color: 'secondary', fontSize: '18px'}}
/>
}
sx={{
'.repo-button-label': {
display: 'inline-block !important',
maxWidth: '150px',
overflow: 'hidden',
textOverflow: 'ellipsis',
fontSize: '14px',
whiteSpace: 'nowrap',
},
'.repo-version-label': {
display: 'inline-block',
maxWidth: '75px',
overflow: 'hidden',
textOverflow: 'ellipsis',
fontSize: '14px',
whiteSpace: 'nowrap',
<RepoTooltip repo={{url: repoURL}}>
<RepoVersionButton
size={size}
href={repoURL}
icon={
noIcons ?
false :
<RepoIcon
noTooltip
sx={{color: 'secondary', fontSize: '18px'}}
/>
}
}}
repo={repo}
version={repoVersion}
versionStyle={{fontSize: fontSize || '14px'}}
/>
</RepoTooltip>
sx={{
'.repo-button-label': {
display: 'inline-block !important',
maxWidth: '150px',
overflow: 'hidden',
textOverflow: 'ellipsis',
fontSize: '14px',
whiteSpace: 'nowrap',
},
'.repo-version-label': {
display: 'inline-block',
maxWidth: '75px',
overflow: 'hidden',
textOverflow: 'ellipsis',
fontSize: '14px',
whiteSpace: 'nowrap',
}
}}
repo={repo}
version={repoVersion}
versionStyle={{fontSize: fontSize || '14px'}}
/>
</RepoTooltip>
</React.Fragment>
}
{
Expand Down

0 comments on commit 06b14f4

Please sign in to comment.