From e06d04044ce9bb9022f56a21602a22a2f1e61b02 Mon Sep 17 00:00:00 2001 From: Rachel Braverman Date: Wed, 21 Feb 2024 15:16:18 +0200 Subject: [PATCH] Revert "change color to const" This reverts commit d56c0a09c5cae9d4aa7d61272eacc13670ebe162. --- library/math/numbersLine/src/App.css | 13 ++++++------- .../src/components/toolbar/DisplayNumbers.tsx | 4 ++-- .../src/components/toolbar/LineDefinition.tsx | 6 +++--- .../numbersLine/src/components/ui/alert-dialog.tsx | 5 +---- .../math/numbersLine/src/components/ui/button.tsx | 14 +++++++------- .../math/numbersLine/src/consts/elementConsts.ts | 7 ------- library/math/numbersLine/src/lib/stylesUtils.ts | 4 ++-- library/math/numbersLine/src/styles/jump.ts | 4 ++-- 8 files changed, 23 insertions(+), 34 deletions(-) diff --git a/library/math/numbersLine/src/App.css b/library/math/numbersLine/src/App.css index 5588c2e..4d13b32 100644 --- a/library/math/numbersLine/src/App.css +++ b/library/math/numbersLine/src/App.css @@ -68,21 +68,20 @@ margin: var(--margin-value) !important; height: 18px !important; - border: 0px !important; border-bottom-left-radius: 0px !important; - border-top-left-radius: 0px !important; - border-bottom-right-radius: 0px !important; - border-top-right-radius: 0px !important; + border: 0px !important; } .moveable-direction.moveable-e{ background-image: url('../public/assets/icons/resizeRight.svg') !important; - margin-inline: -1px !important; - + margin-inline: 0px !important; + border-bottom-left-radius: 0px !important; + border-top-left-radius: 0px !important; } .moveable-direction.moveable-w{ background-image: url('../public/assets/icons/resizeLeft.svg') !important; margin-inline:-14px !important; - + border-bottom-right-radius: 0px !important; + border-top-right-radius: 0px !important; } \ No newline at end of file diff --git a/library/math/numbersLine/src/components/toolbar/DisplayNumbers.tsx b/library/math/numbersLine/src/components/toolbar/DisplayNumbers.tsx index 3d22720..43ccdc3 100644 --- a/library/math/numbersLine/src/components/toolbar/DisplayNumbers.tsx +++ b/library/math/numbersLine/src/components/toolbar/DisplayNumbers.tsx @@ -2,7 +2,7 @@ import { Button } from "../ui/button"; import { useNumbersLineContext } from "../../context/numbersLineContext"; import { IDisplayRuller, TypeCover } from "../../type/elements"; import triangleToMenu from "/assets/icons/TriangleToMenu.png"; -import { blue1, displayRulerButtonDetials } from "../../consts/elementConsts"; +import { displayRulerButtonDetials } from "../../consts/elementConsts"; interface IProps { setOpen: (val: boolean) => void; @@ -18,7 +18,7 @@ const DisplayNumbers = ({ setOpen }: IProps) => { return (
triple for menu -
+
{displayRulerButtonDetials.map((item: IDisplayRuller, i: number) => (