From 78654243a08f05631aedc33f5e5ab65cd9d7764f Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 12 Jun 2024 12:04:51 +0800 Subject: [PATCH] ux: trim subject if it's too long to display --- src/Views/Archive.axaml | 10 +++++----- src/Views/CheckoutCommit.axaml | 10 +++++----- src/Views/CherryPick.axaml | 12 ++++++------ src/Views/CreateBranch.axaml | 10 +++++----- src/Views/CreateTag.axaml | 12 ++++++------ src/Views/Rebase.axaml | 12 ++++++------ src/Views/Reset.axaml | 10 +++++----- src/Views/Revert.axaml | 12 ++++++------ src/Views/Reword.axaml | 15 ++++++++------- src/Views/Squash.axaml | 25 +++++++++++++------------ 10 files changed, 65 insertions(+), 63 deletions(-) diff --git a/src/Views/Archive.axaml b/src/Views/Archive.axaml index 8cb89d49..5dc79018 100644 --- a/src/Views/Archive.axaml +++ b/src/Views/Archive.axaml @@ -28,11 +28,11 @@ - - - - - + + + + + diff --git a/src/Views/CheckoutCommit.axaml b/src/Views/CheckoutCommit.axaml index 1ab41375..679299d3 100644 --- a/src/Views/CheckoutCommit.axaml +++ b/src/Views/CheckoutCommit.axaml @@ -25,11 +25,11 @@ HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,8,0" Text="{DynamicResource Text.Checkout.Commit.Target}" /> - - - - - + + + + + - + - - - - - + + + + + - - - - - + + + + + diff --git a/src/Views/CreateTag.axaml b/src/Views/CreateTag.axaml index a896a344..fa42c9f2 100644 --- a/src/Views/CreateTag.axaml +++ b/src/Views/CreateTag.axaml @@ -13,7 +13,7 @@ - + - - - - - + + + + + diff --git a/src/Views/Rebase.axaml b/src/Views/Rebase.axaml index 2dc670d2..aa52a15b 100644 --- a/src/Views/Rebase.axaml +++ b/src/Views/Rebase.axaml @@ -12,7 +12,7 @@ - + - - - - - + + + + + diff --git a/src/Views/Reset.axaml b/src/Views/Reset.axaml index fc45b330..8afc6e2e 100644 --- a/src/Views/Reset.axaml +++ b/src/Views/Reset.axaml @@ -25,11 +25,11 @@ HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,8,0" Text="{DynamicResource Text.Reset.MoveTo}"/> - - - - - + + + + + - + - - - - - + + + + + - + - - - - - + + + + + - - + - - - - - + + + + + - - - - - + + + + + -