diff --git a/src/Diagram.svelte b/src/Diagram.svelte index c2cdbd6d3..ea77fabdb 100644 --- a/src/Diagram.svelte +++ b/src/Diagram.svelte @@ -4,7 +4,6 @@ export let strokeWidth: number; export let points: CommitGroup[]; - export let strokeColor = "#ff55ff"; export let viewBoxWidth: number; export let viewBoxHeight: number; @@ -12,7 +11,7 @@ let path = ""; let areaPath = ""; - let heightWithPadding = viewBoxHeight + 10; + let heightWithPadding = viewBoxHeight + 16; // The latest point on the x axis, starting at 0 until `viewBoxWidth` let lastWidthPoint = viewBoxWidth; @@ -65,14 +64,21 @@ // Creates the stroke path with the array of points path = createPath(); // Concats a path closing for it to be the area under the stroke - areaPath = path.concat(`L${lastWidthPoint},${heightWithPadding}L${viewBoxWidth},${viewBoxHeight+10}Z`); + areaPath = path.concat(`L${lastWidthPoint},${viewBoxHeight}L${viewBoxWidth},${viewBoxHeight}Z`); }); - + + + + + + + + - - + + diff --git a/src/LinearGradient.svelte b/src/LinearGradient.svelte index 64515412e..4e3073c0b 100644 --- a/src/LinearGradient.svelte +++ b/src/LinearGradient.svelte @@ -6,8 +6,9 @@ - - + + + diff --git a/src/base/orgs/View/Projects.svelte b/src/base/orgs/View/Projects.svelte index 1ff3eeb20..c2e543fab 100644 --- a/src/base/orgs/View/Projects.svelte +++ b/src/base/orgs/View/Projects.svelte @@ -50,7 +50,7 @@ margin-top: 1rem; } .projects .project { - margin-bottom: 1rem; + margin-bottom: 0.5rem; } .actions { display: flex; diff --git a/src/base/projects/History.svelte b/src/base/projects/History.svelte index 9dc9ce9ff..94b0d57f0 100644 --- a/src/base/projects/History.svelte +++ b/src/base/projects/History.svelte @@ -1,7 +1,6 @@