diff --git a/apps/desktop/src/lib/components/DecorativeSplitView.svelte b/apps/desktop/src/lib/components/DecorativeSplitView.svelte
index 0b2060465..614d3d38f 100644
--- a/apps/desktop/src/lib/components/DecorativeSplitView.svelte
+++ b/apps/desktop/src/lib/components/DecorativeSplitView.svelte
@@ -220,13 +220,7 @@
width: 100%;
height: 2px;
border: none;
- background: repeating-linear-gradient(
- to right,
- var(--fill-color),
- var(--fill-color) 1px,
- transparent 1px,
- transparent 4px
- );
+ background-image: linear-gradient(to right, var(--fill-color) 50%, transparent 50%);
background-size: 4px 4px;
opacity: 0.5;
}
diff --git a/apps/desktop/src/lib/components/NotOnGitButlerBranch.svelte b/apps/desktop/src/lib/components/NotOnGitButlerBranch.svelte
index 8f344f09e..10b178e6a 100644
--- a/apps/desktop/src/lib/components/NotOnGitButlerBranch.svelte
+++ b/apps/desktop/src/lib/components/NotOnGitButlerBranch.svelte
@@ -7,11 +7,11 @@
import derectionDoubtSvg from '$lib/assets/illustrations/direction-doubt.svg?raw';
import { ProjectsService, Project } from '$lib/backend/projects';
import { showError } from '$lib/notifications/toasts';
- import Spacer from '$lib/shared/Spacer.svelte';
import * as toasts from '$lib/utils/toasts';
import { BranchController } from '$lib/vbranches/branchController';
import { getContext } from '@gitbutler/shared/context';
import Button from '@gitbutler/ui/Button.svelte';
+ import Spacer from '@gitbutler/ui/Spacer.svelte';
import type { BaseBranch } from '$lib/baseBranch/baseBranch';
import { goto } from '$app/navigation';
diff --git a/apps/desktop/src/lib/components/ProblemLoadingRepo.svelte b/apps/desktop/src/lib/components/ProblemLoadingRepo.svelte
index c43582e74..3f90ba7fd 100644
--- a/apps/desktop/src/lib/components/ProblemLoadingRepo.svelte
+++ b/apps/desktop/src/lib/components/ProblemLoadingRepo.svelte
@@ -6,10 +6,10 @@
import { ProjectsService, Project } from '$lib/backend/projects';
import { showError } from '$lib/notifications/toasts';
import ProjectNameLabel from '$lib/shared/ProjectNameLabel.svelte';
- import Spacer from '$lib/shared/Spacer.svelte';
import * as toasts from '$lib/utils/toasts';
import { getContext } from '@gitbutler/shared/context';
import Icon from '@gitbutler/ui/Icon.svelte';
+ import Spacer from '@gitbutler/ui/Spacer.svelte';
import { goto } from '$app/navigation';
export let error: any = undefined;
diff --git a/apps/desktop/src/lib/components/ProjectNotFound.svelte b/apps/desktop/src/lib/components/ProjectNotFound.svelte
index a44ea25f8..76ae25ce9 100644
--- a/apps/desktop/src/lib/components/ProjectNotFound.svelte
+++ b/apps/desktop/src/lib/components/ProjectNotFound.svelte
@@ -5,9 +5,9 @@
import notFoundSvg from '$lib/assets/illustrations/not-found.svg?raw';
import { ProjectsService } from '$lib/backend/projects';
import InfoMessage, { type MessageStyle } from '$lib/shared/InfoMessage.svelte';
- import Spacer from '$lib/shared/Spacer.svelte';
import { getContext } from '@gitbutler/shared/context';
import Button from '@gitbutler/ui/Button.svelte';
+ import Spacer from '@gitbutler/ui/Spacer.svelte';
const projectsService = getContext(ProjectsService);
const id = projectsService.getLastOpenedProject();
diff --git a/apps/desktop/src/lib/onboarding/CloneForm.svelte b/apps/desktop/src/lib/onboarding/CloneForm.svelte
index 3ac725473..377fff909 100644
--- a/apps/desktop/src/lib/onboarding/CloneForm.svelte
+++ b/apps/desktop/src/lib/onboarding/CloneForm.svelte
@@ -3,11 +3,11 @@
import { ProjectsService } from '$lib/backend/projects';
import Section from '$lib/settings/Section.svelte';
import InfoMessage, { type MessageStyle } from '$lib/shared/InfoMessage.svelte';
- import Spacer from '$lib/shared/Spacer.svelte';
import { parseRemoteUrl } from '$lib/url/gitUrl';
import { getContext } from '@gitbutler/shared/context';
import { persisted } from '@gitbutler/shared/persisted';
import Button from '@gitbutler/ui/Button.svelte';
+ import Spacer from '@gitbutler/ui/Spacer.svelte';
import Textbox from '@gitbutler/ui/Textbox.svelte';
import * as Sentry from '@sentry/sveltekit';
import { open } from '@tauri-apps/api/dialog';
diff --git a/apps/desktop/src/lib/settings/Section.svelte b/apps/desktop/src/lib/settings/Section.svelte
index 97898cedb..e93305c24 100644
--- a/apps/desktop/src/lib/settings/Section.svelte
+++ b/apps/desktop/src/lib/settings/Section.svelte
@@ -1,5 +1,5 @@
- const { margin = 12, noLine = false, dotted = false }: SpacerProps = $props();
+
+
+
diff --git a/packages/ui/src/styles/components/commit-lines.css b/packages/ui/src/styles/components/commit-lines.css
index 8c828dc12..e71346dc9 100644
--- a/packages/ui/src/styles/components/commit-lines.css
+++ b/packages/ui/src/styles/components/commit-lines.css
@@ -60,13 +60,8 @@
&:before {
height: calc(100% + 1px);
- background: repeating-linear-gradient(
- 0,
- transparent,
- transparent 2px,
- var(--border-color) 2px,
- var(--border-color) 4px
- );
+ background: linear-gradient(to bottom, var(--border-color) 50%, transparent 50%);
+ background-size: 4px 4px;
}
}
}