Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1050 | fixing horizontal divider display/width
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Oct 26, 2021
1 parent 481a694 commit c81c9bb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/common/ConceptContainerVersionList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ const ConceptContainerVersionList = ({ versions, resource, canEdit, onUpdate, fh
</div>
</div>
{
(index + 1) < versions.length && <Divider style={{width: '100%'}} />
(index + 1) < versions.length && <Divider style={{width: '100%', display: 'inline-block'}} />
}
</div>
)
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/VersionList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const VersionList = ({ versions, resource }) => {
</div>
{
!isAssociated(version) && ((index + 1) < versions.length) &&
<Divider style={{width: '100%'}} />
<Divider style={{width: '100%', display: 'inline-block'}} />
}
</React.Fragment>
)
Expand Down
2 changes: 1 addition & 1 deletion src/components/imports/Task.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const Task = ({task, open, onOpen, onClose, onRevoke, onDownload}) => {
<div className='col-md-9 no-right-padding' style={{margin: '5px 0', overflow: 'auto'}}>
{formattedValue || ' - '}
</div>
<Divider style={{width: '100%'}}/>
<Divider style={{width: '100%', display: 'inline-block'}}/>
</React.Fragment>
)
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/mappings/MappingHomeDetails.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const MappingHomeDetails = ({ mapping }) => {
{mapping.map_type}
</div>
</div>
<Divider style={{width: '100%'}} />
<Divider style={{width: '100%', display: 'inline-block'}} />
<div className='col-md-12' style={{marginBottom: '5px', marginTop: '15px'}}>
<div style={{fontWeight: '300'}} className='col-md-4 no-left-padding'>
From Concept
Expand All @@ -69,7 +69,7 @@ const MappingHomeDetails = ({ mapping }) => {
<ToConceptLabel {...mapping} />
</div>
</div>
<Divider style={{width: '100%'}} />
<Divider style={{width: '100%', display: 'inline-block'}} />
<div className='col-md-12' style={{marginBottom: '5px', marginTop: '15px'}}>
<div style={{fontWeight: '300'}} className='col-md-4 no-left-padding'>
Updated By
Expand Down

0 comments on commit c81c9bb

Please sign in to comment.