File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 73
73
</ section >
74
74
75
75
< section >
76
- < h2 id ="why "> Why? </ h2 >
76
+ < h2 id ="why "> Why you might want this </ h2 >
77
77
78
78
< p >
79
79
Sometimes your website needs a simple code editor that is easier on the
@@ -127,7 +127,7 @@ <h2 id="try">Try</h2>
127
127
< li > This website - yes, go play with the < a href ="#editor "> editor</ a > if you haven't yet!</ li >
128
128
</ ul >
129
129
130
- < h2 id ="diy "> Want to add this to your website?</ h2 >
130
+ < h2 id ="diy "> Want to add it to your website?</ h2 >
131
131
< p >
132
132
Download
133
133
< a href ="codebedder.js " target ="_blank "> codebedder.js</ a > ,
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ nav a {
203
203
204
204
section : has (code-bedder ) {
205
205
display : grid;
206
- grid-auto-rows : 33 vh ;
206
+ grid-auto-rows : calc ( 45.5 vh - 8 vw ) ;
207
207
}
208
208
209
209
iframe {
@@ -216,6 +216,7 @@ iframe {
216
216
217
217
@media (min-width : 960px ) {
218
218
section : has (code-bedder ) {
219
+ min-height : 75vh ;
219
220
grid-auto-rows : initial;
220
221
grid-template-columns : minmax (0 , 1fr ) minmax (0 , 1fr );
221
222
}
@@ -225,6 +226,12 @@ iframe {
225
226
}
226
227
}
227
228
229
+ @media (min-width : 1280px ) {
230
+ section : has (code-bedder ) {
231
+ min-height : 57vh ;
232
+ }
233
+ }
234
+
228
235
section : not (: has (code-bedder )) {
229
236
max-width : 1028px ;
230
237
width : 100% ;
You can’t perform that action at this time.
0 commit comments