Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: version diff overflow #4313

Merged
merged 1 commit into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/web/components/diff/DiffFeature.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const DiffFeature: FC<FeatureDiffType> = ({
</div>
<div className='flex-row pt-4 list-item list-item-sm'>
{!hideValue && (
<div className='table-column flex flex-1'>
<div className='table-column flex flex-1 overflow-hidden'>
<div>
<DiffString
data-test={'version-value'}
Expand Down
2 changes: 1 addition & 1 deletion frontend/web/components/diff/DiffSegments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const DiffSegment: FC<DiffSegment> = ({ diff }) => {
newValue={diff.deleted ? diff.oldPriority : diff.newPriority}
/>
</div>
<div className='table-column flex-fill'>
<div className='table-column flex-1 overflow-hidden'>
<DiffString
oldValue={diff.created ? diff.newValue : diff.oldValue}
newValue={diff.deleted ? diff.oldValue : diff.newValue}
Expand Down
2 changes: 1 addition & 1 deletion frontend/web/components/diff/DiffString.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const DiffString: FC<DiffType> = ({
return null
}
return (
<div className='react-diff react-diff-line d-flex align-items-center'>
<div className='react-diff overflow-auto react-diff-line d-flex align-items-center'>
<pre
className='d-inline'
dangerouslySetInnerHTML={{
Expand Down
Loading