Skip to content

Commit a0609ca

Browse files
authored
Merge pull request #39 from wednesday-solutions/feat/fix-antd
Feat/fix antd
2 parents 4639d9c + 814b0b0 commit a0609ca

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

app/components/Siderbar/index.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ const SidebarWrapper = styled.div`
1717
const SidebarDrawer = styled(Drawer)`
1818
&& {
1919
.ant-drawer-body {
20-
padding: ${(props) => props.theme.headerHeight} 0 0 0;
2120
background-color: ${colors.primary};
22-
width: ${(props) => props.theme.sidebarWidth};
2321
text-align: center;
2422
}
23+
.ant-drawer-header {
24+
border-bottom: 1px solid ${colors.primary};
25+
background-color: ${colors.primary};
26+
}
2527
.ant-drawer-close {
26-
top: 1rem;
28+
padding-top: 1rem;
2729
}
2830
}
2931
`;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"build-storybook": "export ENVIRONMENT_NAME=production && build-storybook",
5858
"initialize": "git checkout --orphan temp-branch && git add -A && git commit -m 'Initial commit' && git branch -D master && git branch -m master",
5959
"generate": "react-generate",
60-
"electron:dev": "export ENVIRONMENT_NAME=local && concurrently -c green.bold,blue.bold,white.bold -n WEBPACK,TYPESCRIPT,ELECTRON \"cross-env NODE_ENV=development node server\" \"yarn tsc:watch\" \"wait-on http://localhost:3000 && cross-env NODE_ENV=development electron .\"",
60+
"electron:dev": "export ENVIRONMENT_NAME=local && concurrently -k -c green.bold,blue.bold,white.bold -n WEBPACK,TYPESCRIPT,ELECTRON \"cross-env NODE_ENV=development node server\" \"yarn tsc:watch\" \"wait-on http://localhost:3000 && cross-env NODE_ENV=development electron .\"",
6161
"electron:prod": "yarn run build && concurrently -c gree.bold,blue.bold -n WEBPACK,ELECTRON \"yarn run start:prod\" \"wait-on http://localhost:3000 && cross-env NODE_ENV=development electron .\"",
6262
"electron:build": "yarn run build && electron-builder",
6363
"electron:package": "yarn run electron-builder -- --publish always --win --mac --linux"

0 commit comments

Comments
 (0)