diff --git a/frontend/CHANGELOG.md b/frontend/CHANGELOG.md
index 7e99e753dd..5c4b0b8f72 100644
--- a/frontend/CHANGELOG.md
+++ b/frontend/CHANGELOG.md
@@ -466,4 +466,4 @@ The latest version of this document is always available in
## [2.1.0] - 2017-01-20
-- Adjust header #51 #52
\ No newline at end of file
+- Adjust header #51 #52
diff --git a/frontend/package.json b/frontend/package.json
index 312e551ed3..01eb96312f 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -62,6 +62,7 @@
"react-dnd": "^14.0.2",
"react-dnd-html5-backend": "^14.0.0",
"react-dom": "^17.0.2",
+ "react-outside-click-handler": "^1.3.0",
"react-redux": "^7.2.3",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
@@ -71,8 +72,8 @@
"redux-mock-store": "^1.5.4",
"redux-thunk": "^2.3.0",
"sass": "^1.32.8",
- "typescript": "^4.2.3",
"swr": "^0.5.5",
+ "typescript": "^4.2.3",
"web-vitals": "^1.0.1"
},
"jest": {
diff --git a/frontend/src/common.styles.js b/frontend/src/common.styles.js
index f3d94e7ffc..61c6f9de38 100644
--- a/frontend/src/common.styles.js
+++ b/frontend/src/common.styles.js
@@ -20,11 +20,13 @@ export const useCommonStyles = makeStyles(theme => ({
margin: '1rem 0',
backgroundColor: theme.palette.division.main,
height: '3px',
+ width: '100%',
},
largeDivider: {
margin: '2rem 0',
backgroundColor: theme.palette.division.main,
height: '3px',
+ width: '100%',
},
bold: {
fontWeight: 'bold',
@@ -37,6 +39,12 @@ export const useCommonStyles = makeStyles(theme => ({
display: 'flex',
flexDirection: 'column',
},
+ itemsCenter: {
+ alignItems: 'center',
+ },
+ justifyCenter: {
+ justifyContent: 'center',
+ },
flexWrap: {
flexWrap: 'wrap',
},
diff --git a/frontend/src/component/feature/variant/__tests__/__snapshots__/update-variant-component-test.jsx.snap b/frontend/src/component/feature/variant/__tests__/__snapshots__/update-variant-component-test.jsx.snap
index e7c6aa4477..adf5ecb1ab 100644
--- a/frontend/src/component/feature/variant/__tests__/__snapshots__/update-variant-component-test.jsx.snap
+++ b/frontend/src/component/feature/variant/__tests__/__snapshots__/update-variant-component-test.jsx.snap
@@ -473,10 +473,10 @@ exports[`renders correctly with with variants 1`] = `