Skip to content

Commit 025c9db

Browse files
committed
style textarea on add new case details
1 parent 56c1043 commit 025c9db

File tree

3 files changed

+47
-14
lines changed

3 files changed

+47
-14
lines changed

package-lock.json

+32-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
},
3232
"homepage": "https://github.com/fac-14/OSCEBossKey#readme",
3333
"devDependencies": {
34+
"babel-plugin-styled-components": "^1.8.0",
3435
"codecov": "^3.1.0",
3536
"eslint": "^5.6.1",
3637
"eslint-config-prettier": "^3.1.0",
@@ -42,14 +43,14 @@
4243
"node-fetch": "^2.2.0",
4344
"nodemon": "^1.18.4",
4445
"react-testing-library": "^5.1.1",
46+
"styled-components": "^4.0.2",
4547
"supertest": "^3.3.0"
4648
},
4749
"dependencies": {
4850
"airtable": "^0.5.7",
4951
"babel-core": "^6.26.3",
5052
"babel-eslint": "^10.0.1",
5153
"babel-jest": "^23.6.0",
52-
"babel-plugin-styled-components": "^1.8.0",
5354
"babel-plugin-transform-class-properties": "^6.24.1",
5455
"babel-preset-env": "^1.7.0",
5556
"babel-preset-react": "^6.24.1",
@@ -66,7 +67,6 @@
6667
"react-router": "^4.3.1",
6768
"react-router-dom": "^4.3.1",
6869
"sass": "^1.14.1",
69-
"serve-favicon": "^2.5.0",
70-
"styled-components": "^4.0.2"
70+
"serve-favicon": "^2.5.0"
7171
}
7272
}
+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
#add-new-wrapper {
22
margin-top: 44px;
33
}
4+
5+
textarea {
6+
resize: none;
7+
margin: 16px;
8+
padding: 8px;
9+
width: calc(100vw - 2 * (16px + 8px));
10+
height: calc(100vh - 272px);
11+
border: none;
12+
font-size: 16px;
13+
line-height: 1.2;
14+
font-family: $text-font;
15+
}

0 commit comments

Comments
 (0)