From 4c977840d650ecd0a467e1baa2e17e3ed2b54fed Mon Sep 17 00:00:00 2001 From: Pavel Laptev Date: Fri, 9 Feb 2024 23:49:44 +0100 Subject: [PATCH] style: update padding and remove commented out code in collapsed lane component --- gitbutler-ui/src/lib/components/BranchCard.svelte | 4 ---- gitbutler-ui/src/lib/components/BranchHeader.svelte | 6 +----- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/gitbutler-ui/src/lib/components/BranchCard.svelte b/gitbutler-ui/src/lib/components/BranchCard.svelte index 2be4e9ea4..4c7c13a2f 100644 --- a/gitbutler-ui/src/lib/components/BranchCard.svelte +++ b/gitbutler-ui/src/lib/components/BranchCard.svelte @@ -430,8 +430,4 @@ height: 100%; border-right: 1px solid var(--clr-theme-container-outline-light); } - - /* .brach-collapsed { - display: none; - } */ diff --git a/gitbutler-ui/src/lib/components/BranchHeader.svelte b/gitbutler-ui/src/lib/components/BranchHeader.svelte index 73bcdae94..f5337da55 100644 --- a/gitbutler-ui/src/lib/components/BranchHeader.svelte +++ b/gitbutler-ui/src/lib/components/BranchHeader.svelte @@ -531,7 +531,7 @@ align-items: center; height: 100%; gap: var(--space-16); - padding: var(--space-8) var(--space-8) var(--space-16); + padding: var(--space-8) var(--space-8) var(--space-20); } .collapsed-lane__actions { @@ -555,9 +555,6 @@ writing-mode: vertical-rl; gap: var(--space-8); - /* flex-direction: column-reverse; */ - /* writing-mode: vertical-rl; - background-color: aquamarine; */ } .collapsed-lane__info__details { @@ -570,6 +567,5 @@ .collapsed-lane__label { color: var(--clr-theme-scale-ntrl-0); transform: rotate(180deg); - padding: var(--space-8) 0; }