From 828b75410dcf07ef8b63335bae8aa2cca0e21f00 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Tue, 2 Jul 2024 15:37:30 +0100 Subject: [PATCH] spacing and padding to branches --- libs/remix-ui/git/src/components/gitui.tsx | 5 +++-- libs/remix-ui/git/src/components/panels/branches.tsx | 10 +++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/libs/remix-ui/git/src/components/gitui.tsx b/libs/remix-ui/git/src/components/gitui.tsx index 79be4d1c25..d723cc20ce 100644 --- a/libs/remix-ui/git/src/components/gitui.tsx +++ b/libs/remix-ui/git/src/components/gitui.tsx @@ -200,8 +200,9 @@ export const GitUI = (props: IGitUi) => {
- <> - +
+ +

diff --git a/libs/remix-ui/git/src/components/panels/branches.tsx b/libs/remix-ui/git/src/components/panels/branches.tsx index 503bea1202..0c70e1533f 100644 --- a/libs/remix-ui/git/src/components/panels/branches.tsx +++ b/libs/remix-ui/git/src/components/panels/branches.tsx @@ -18,7 +18,7 @@ export const Branches = () => { return ( <> -
+
{context.branches && context.branches.length ?
{context.branches && context.branches.filter((branch, index) => !branch.remote).map((branch, index) => { @@ -32,9 +32,9 @@ export const Branches = () => { {context.currentBranch && context.currentBranch.name !== '' && (!context.branches || context.branches.length === 0) ? -
Current branch is `{context.currentBranch.name}` but you have no commits.
+
Current branch is {`${context.currentBranch.name}`} but you have no commits.
: null} - +
{ actions.createBranch(newBranch.value)} - className="btn w-md-25 w-100 btn-primary" + className="btn w-md-25 w-100 btn-primary mb-3" id="createbranch-btn" > create new branch @@ -57,4 +57,4 @@ export const Branches = () => {
); -} \ No newline at end of file +}