From 1528aa23905959129a9fba281246ccf217e6a0df Mon Sep 17 00:00:00 2001 From: Thomas Plumpton Date: Sat, 5 Apr 2025 19:08:56 +0100 Subject: [PATCH 1/3] fix(table): fixed commit message padding --- .../components/CommitMessageData/CommitMessageData.module.scss | 1 - .../Table/components/CommitMessageData/CommitMessageData.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/library/src/modules/Table/components/CommitMessageData/CommitMessageData.module.scss b/packages/library/src/modules/Table/components/CommitMessageData/CommitMessageData.module.scss index 81fd308a..15cce668 100644 --- a/packages/library/src/modules/Table/components/CommitMessageData/CommitMessageData.module.scss +++ b/packages/library/src/modules/Table/components/CommitMessageData/CommitMessageData.module.scss @@ -5,5 +5,4 @@ padding-right: 30px; padding-left: 20px; font-weight: 400; - display: flex; } \ No newline at end of file diff --git a/packages/library/src/modules/Table/components/CommitMessageData/CommitMessageData.tsx b/packages/library/src/modules/Table/components/CommitMessageData/CommitMessageData.tsx index aada7e2e..32f6f4de 100644 --- a/packages/library/src/modules/Table/components/CommitMessageData/CommitMessageData.tsx +++ b/packages/library/src/modules/Table/components/CommitMessageData/CommitMessageData.tsx @@ -5,10 +5,10 @@ import { IndexStatus } from 'modules/Table/components/IndexStatus' export const CommitMessageData = ({ index, isIndex, commitMessage, style }: CommitMessageDataProps) => { return (
{commitMessage} From 42a87909f77826c97ea67c061899f4c772e7a0bc Mon Sep 17 00:00:00 2001 From: Thomas Plumpton Date: Sat, 5 Apr 2025 19:12:20 +0100 Subject: [PATCH 2/3] test(table): updated snapshots and bumped version to 2.4.0 --- packages/library/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/library/package.json b/packages/library/package.json index d1d3e53a..5ef410cf 100644 --- a/packages/library/package.json +++ b/packages/library/package.json @@ -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", From 5c61b95fb350479c80669a5e85a568597ab145df Mon Sep 17 00:00:00 2001 From: Thomas Plumpton Date: Sat, 5 Apr 2025 19:17:04 +0100 Subject: [PATCH 3/3] test(table): added updated missing snapshot changes --- packages/library/src/__snapshots__/GitLog.spec.tsx.snap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/library/src/__snapshots__/GitLog.spec.tsx.snap b/packages/library/src/__snapshots__/GitLog.spec.tsx.snap index 8fd64c09..bed9e197 100644 --- a/packages/library/src/__snapshots__/GitLog.spec.tsx.snap +++ b/packages/library/src/__snapshots__/GitLog.spec.tsx.snap @@ -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 @@ -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 @@ -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