diff --git a/client/package.json b/client/package.json index ad1154c6b..f3116f1d9 100644 --- a/client/package.json +++ b/client/package.json @@ -75,7 +75,6 @@ "resize-observer-polyfill": "^1.5.1", "rollbar": "^2.14.4", "sass": "^1.49.9", - "spectre.scss": "0.0.2", "typescript": "^4.9.3", "widont": "^0.3.3", "xstate": "^4.11.0" @@ -88,8 +87,8 @@ "contentful": "node pull-contentful-data.js", "contentful-common-strings": "contentful-common-strings fetch -o src/data/common-strings.json", "typecheck": "tsc", - "build-css": "sass src/:src/ --no-source-map --load-path src/ --load-path node_modules/ --load-path node_modules/spectre.scss/src/", - "watch-css": "yarn build-css && sass src/:src/ --no-source-map --load-path src/ --load-path node_modules/ --load-path node_modules/spectre.scss/src/ --watch", + "build-css": "sass src/:src/ --no-source-map --load-path src/ --load-path node_modules/", + "watch-css": "yarn build-css && sass src/:src/ --no-source-map --load-path src/ --load-path node_modules/ --watch", "start-js": "lingui compile && react-scripts start", "start": "yarn contentful-common-strings --dev && npm-run-all -p watch-css start-js", "build": "yarn contentful-common-strings && node write-version.js && yarn build-css && lingui compile && react-scripts build", diff --git a/client/src/components/CloseButton.tsx b/client/src/components/CloseButton.tsx index edce2e32f..15defd0e5 100644 --- a/client/src/components/CloseButton.tsx +++ b/client/src/components/CloseButton.tsx @@ -7,15 +7,15 @@ import classNames from "classnames"; type CloseButtonProps = withI18nProps & { onClick: () => void; /** - * Stroke width for the X svg (Default: "0.1rem") + * Stroke width for the X svg (Default: "1px") */ strokeWidth?: number | string; /** - * Width for the X svg (Default: "1.6rem") + * Width for the X svg (Default: "1rem") */ width?: number | string; /** - * Height for the X svg (Default: "1.6rem") + * Height for the X svg (Default: "1rem") */ height?: number | string; className?: string; @@ -29,9 +29,9 @@ export const CloseButton = withI18n()( ({ i18n, onClick, - strokeWidth = "0.1rem", - height = "1.6rem", - width = "1.6rem", + strokeWidth = "1px", + height = "1rem", + width = "1rem", className, }: CloseButtonProps) => (