File tree Expand file tree Collapse file tree 1 file changed +35
-9
lines changed
Expand file tree Collapse file tree 1 file changed +35
-9
lines changed Original file line number Diff line number Diff line change 55
66# div-compare , # div-original {
77 position : absolute;
8- top : 4em ;
98 border-radius : 7px ;
109}
1110
1817}
1918
2019# compare , # original {
21- width : calc (100vw - 3em - 10px );
2220 font-size : 1.5em ;
2321 padding : 20px ;
2422}
@@ -35,20 +33,14 @@ body {
3533 background : transparent;
3634}
3735
38- textarea {
39- height : 40vh ;
40- border : none;
41- }
42-
4336# buttons {
4437 position : absolute;
45- top : 90vh ;
4638 display : flex;
39+ height : 60px ;
4740 width : 200px ;
4841 gap : 40px ;
4942}
5043
51-
5244button {
5345 font-size : 1.2em ;
5446 border-radius : 7px ;
@@ -62,3 +54,37 @@ button {
6254# button-compare {
6355 background : Pink;
6456}
57+
58+ textarea {
59+ border : none;
60+ }
61+
62+ @media (min-height : 100px ) {
63+
64+ # div-compare , # div-original {
65+ top : calc (6em + 50px );
66+ }
67+
68+ textarea {
69+ width : calc (100vw - 4em - 10px );
70+ height : 100vh ;
71+ }
72+
73+ }
74+
75+ @media (min-height : 650px ) {
76+
77+ # div-compare , # div-original {
78+ top : 4em ;
79+ }
80+
81+ textarea {
82+ width : calc (100vw - 3em - 10px );
83+ height : calc (100vh - 11em );
84+ }
85+
86+ # buttons {
87+ bottom : 1em ;
88+ }
89+
90+ }
You can’t perform that action at this time.
0 commit comments