From 0c92078b0a3d493cd66575c2fefb3b87ed8e84e4 Mon Sep 17 00:00:00 2001 From: Rob Gordon Date: Sun, 24 Nov 2024 10:40:25 -0500 Subject: [PATCH 1/3] Add Isosceles Trapezoid Shape (#761) --- app/src/components/GraphTip.tsx | 1 - app/src/lib/graphUtilityClasses.ts | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/src/components/GraphTip.tsx b/app/src/components/GraphTip.tsx index d3b4979d7..1672b5fc2 100644 --- a/app/src/components/GraphTip.tsx +++ b/app/src/components/GraphTip.tsx @@ -20,7 +20,6 @@ export function GraphTip() {
({ }, })); +childlessShapeClasses.push({ + selector: ":childless.shape_iso-trapezoid", + css: { + shape: "polygon", + "shape-polygon-points": "-1 1 1 1 0.5 -1 -0.5 -1", + }, +}); + const arrowSuffixes = [ "triangle", "triangle-tee", From 1220f66f9a047f12c4a71ceb61da0da1f26ae3a9 Mon Sep 17 00:00:00 2001 From: Rob Gordon Date: Sun, 24 Nov 2024 11:49:59 -0500 Subject: [PATCH 2/3] Reader Header Bar (#762) --- app/src/components/Header.tsx | 34 +++++++++++++++++++++++----------- app/src/index.css | 7 +++++++ 2 files changed, 30 insertions(+), 11 deletions(-) diff --git a/app/src/components/Header.tsx b/app/src/components/Header.tsx index 967b6d23d..0e1a940c4 100644 --- a/app/src/components/Header.tsx +++ b/app/src/components/Header.tsx @@ -75,19 +75,24 @@ export const Header = memo(function SharedHeader() { return ( <> -
+