Skip to content
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 packages/library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "Thomas Plumpton",
"repository": "https://github.com/TomPlum/react-git-log",
"description": "A flexible, themable, React component for visualising Git commit history, branch and tag metadata.",
"version": "2.3.0",
"version": "2.4.0",
"license": "Apache-2.0",
"type": "module",
"main": "dist/react-git-log.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/library/src/__snapshots__/GitLog.spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -42603,7 +42603,7 @@ exports[`GitLog > should render correctly and match the snapshot of the GitLog c
class="message"
data-testid="react-git-log-table-data-commit-message-0"
id="react-git-log-table-data-commit-message-0"
style="line-height: 40px; color: rgb(153, 153, 153); background: linear-gradient( to bottom, transparent 2px, transparent 2px, transparent 38px, transparent 38px );"
style="line-height: 40px; color: rgb(153, 153, 153); background: linear-gradient( to bottom, transparent 2px, transparent 2px, transparent 38px, transparent 38px ); display: flex;"
title="// WIP"
>
// WIP
Expand Down Expand Up @@ -100502,7 +100502,7 @@ exports[`GitLog > should render correctly and match the snapshot of the GitLog c
class="message"
data-testid="react-git-log-table-data-commit-message-0"
id="react-git-log-table-data-commit-message-0"
style="line-height: 40px; color: rgb(153, 153, 153); background: linear-gradient( to bottom, transparent 2px, transparent 2px, transparent 38px, transparent 38px );"
style="line-height: 40px; color: rgb(153, 153, 153); background: linear-gradient( to bottom, transparent 2px, transparent 2px, transparent 38px, transparent 38px ); display: flex;"
title="// WIP"
>
// WIP
Expand Down Expand Up @@ -216427,7 +216427,7 @@ exports[`GitLog > should render correctly and match the snapshot of the GitLog c
class="message"
data-testid="react-git-log-table-data-commit-message-0"
id="react-git-log-table-data-commit-message-0"
style="line-height: 40px; color: rgb(153, 153, 153); background: linear-gradient( to bottom, transparent 6px, transparent 6px, transparent 34px, transparent 34px );"
style="line-height: 40px; color: rgb(153, 153, 153); display: flex; background: linear-gradient( to bottom, transparent 6px, transparent 6px, transparent 34px, transparent 34px );"
title="// WIP"
>
// WIP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
padding-right: 30px;
padding-left: 20px;
font-weight: 400;
display: flex;
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import { IndexStatus } from 'modules/Table/components/IndexStatus'
export const CommitMessageData = ({ index, isIndex, commitMessage, style }: CommitMessageDataProps) => {
return (
<div
style={style}
title={commitMessage}
className={styles.message}
id={`react-git-log-table-data-commit-message-${index}`}
style={{ ...style, display: isIndex ? 'flex' : undefined }}
data-testid={`react-git-log-table-data-commit-message-${index}`}
>
{commitMessage}
Expand Down