diff --git a/frontend/src/components/tools/addWatermark/WatermarkStyleSettings.tsx b/frontend/src/components/tools/addWatermark/WatermarkStyleSettings.tsx index 3da084d02..2de9335b0 100644 --- a/frontend/src/components/tools/addWatermark/WatermarkStyleSettings.tsx +++ b/frontend/src/components/tools/addWatermark/WatermarkStyleSettings.tsx @@ -1,7 +1,7 @@ import React from "react"; import { Stack, Text, NumberInput } from "@mantine/core"; import { useTranslation } from "react-i18next"; -import { AddWatermarkParameters } from "./types"; +import { AddWatermarkParameters } from "../../../hooks/tools/addWatermark/useAddWatermarkParameters"; interface WatermarkStyleSettingsProps { parameters: AddWatermarkParameters; diff --git a/frontend/src/components/tools/shared/NumberInputWithUnit.tsx b/frontend/src/components/tools/shared/NumberInputWithUnit.tsx index 207a19af3..1a7830ad1 100644 --- a/frontend/src/components/tools/shared/NumberInputWithUnit.tsx +++ b/frontend/src/components/tools/shared/NumberInputWithUnit.tsx @@ -37,11 +37,6 @@ const NumberInputWithUnit = ({ } rightSectionWidth={unit.length * 8 + 20} // Dynamic width based on unit length - styles={{ - rightSection: { - pointerEvents: 'none', - } - }} /> );