Skip to content

Commit bc40789

Browse files
committed
fix: textarea scroll vertical
1 parent c393555 commit bc40789

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

src/css/core.css

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,8 @@ a {
4343
color: inherit;
4444
}
4545

46-
footer:before {
47-
content: '';
48-
position: absolute;
49-
left: 0;
50-
top: 0;
51-
width: 100%;
52-
height: 100%;
53-
background: -webkit-linear-gradient(top, #008dd5, #008dd5 100%);
54-
background: linear-gradient(to top, #008dd5 0%, #008dd5 100%);
55-
opacity: 0.95;
46+
textarea {
47+
resize: vertical;
5648
}
5749

5850
.hidden {

src/css/footer.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
footer:before {
2+
content: '';
3+
position: absolute;
4+
left: 0;
5+
top: 0;
6+
width: 100%;
7+
height: 100%;
8+
background: -webkit-linear-gradient(top, #008dd5, #008dd5 100%);
9+
background: linear-gradient(to top, #008dd5 0%, #008dd5 100%);
10+
opacity: 0.95;
11+
}

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import './css/checkbox.css';
99
import './css/core.css';
1010
import './css/dropdown.css';
1111
import './css/flip-item.css';
12+
import './css/footer.css';
1213
import './css/menu-icon.css';
1314
import './css/navbar.css';
1415
import './css/overlay-content.css';

0 commit comments

Comments
 (0)