diff --git a/package-lock.json b/package-lock.json index aaace26fa152..1426146efa9b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -133,7 +133,7 @@ "postcss-jsx": "^0.36.4", "postcss-styled-syntax": "^0.7.0", "postcss-syntax": "^0.36.2", - "prettier": "^3.3.3", + "prettier": "^3.4.2", "puppeteer": "^21.9.0", "react-refresh": "^0.14.2", "react-test-renderer": "^17.0.2", @@ -28173,9 +28173,9 @@ } }, "node_modules/prettier": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", - "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" diff --git a/package.json b/package.json index 9f83e568fc07..d56c52a2ae97 100644 --- a/package.json +++ b/package.json @@ -157,7 +157,7 @@ "postcss-jsx": "^0.36.4", "postcss-styled-syntax": "^0.7.0", "postcss-syntax": "^0.36.2", - "prettier": "^3.3.3", + "prettier": "^3.4.2", "puppeteer": "^21.9.0", "react-refresh": "^0.14.2", "react-test-renderer": "^17.0.2", diff --git a/packages/design-system/src/components/slider/slider.tsx b/packages/design-system/src/components/slider/slider.tsx index d83d02f7347b..25fdfbc47dda 100644 --- a/packages/design-system/src/components/slider/slider.tsx +++ b/packages/design-system/src/components/slider/slider.tsx @@ -99,7 +99,8 @@ const Input = styled.input.attrs({ top: calc(50% - 3px); left: -calc( ${({ percentage, thumbSize, width }) => - getAdjustedWidthValue(percentage, thumbSize, width)}% - 4px + getAdjustedWidthValue(percentage, thumbSize, width)}% - + 4px ); width: ${({ percentage = 0 }) => percentage}%; background-color: ${({ theme }) =>