Skip to content

Commit ac810c0

Browse files
authored
resize textarea elements
1 parent 2ef2b1f commit ac810c0

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

styles.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,24 +56,20 @@ button {
5656
}
5757

5858
textarea {
59-
width: calc(100vw - 3em - 10px);
6059
border: none;
6160
}
6261

6362
@media (min-height: 100px) {
6463

6564
#div-compare, #div-original {
66-
top: calc(4em + 60px);
65+
top: calc(5em + 60px);
6766
}
6867

6968
textarea {
69+
width: calc(100vw - 4em - 10px);
7070
height: 100vh;
7171
}
7272

73-
#buttons {
74-
75-
}
76-
7773
}
7874

7975
@media (min-height: 650px) {
@@ -83,6 +79,7 @@ textarea {
8379
}
8480

8581
textarea {
82+
width: calc(100vw - 3em - 10px);
8683
height: calc(100vh - 11em);
8784
}
8885

0 commit comments

Comments
 (0)