File tree 11 files changed +29
-63
lines changed
11 files changed +29
-63
lines changed Original file line number Diff line number Diff line change 85
85
opacity : 1 ;
86
86
}
87
87
88
- @media (min-width : 768 px ) {
88
+ @media (min-width : 600 px ) {
89
89
.user {
90
90
padding : 0em 3.2rem 0 1.6rem ;
91
91
}
Original file line number Diff line number Diff line change 344
344
display : none;
345
345
}
346
346
347
- @media (min-width : 768 px ) {
347
+ @media (min-width : 600 px ) {
348
348
.icon [title ^= 'fullscreen' ] { display : inline }
349
349
350
350
button span {
Original file line number Diff line number Diff line change 148
148
.codemirror-container {
149
149
position : relative;
150
150
width : 100% ;
151
+ height : 100% ;
152
+ border : none;
151
153
}
152
154
153
155
.codemirror-container : global (.CodeMirror ) {
166
168
padding : 0 ;
167
169
}
168
170
169
- @media (min-width : 768px ) {
170
- .codemirror-container {
171
- height : 100% ;
172
- border : none;
173
- }
174
-
175
- .codemirror-container : global (.CodeMirror ) {
176
- height : 100% ;
177
- }
178
- }
179
-
180
171
.codemirror-container : global (.CodeMirror-gutters ) {
181
172
padding : 0 1.6rem 0 .8rem ;
182
173
border : none;
Original file line number Diff line number Diff line change 168
168
</ style >
169
169
170
170
< div class ="component-selector ">
171
- < div class ="file-tabs " on:dblclick ="{() => dispatch('create') } ">
171
+ < div class ="file-tabs " on:dblclick ="{addNew } ">
172
172
{#each $component_store as component}
173
173
< button
174
174
id ={component.name}
Original file line number Diff line number Diff line change 13
13
background : var (--back-light );
14
14
}
15
15
16
- @media (min-width : 768 px ) {
16
+ @media (min-width : 600 px ) {
17
17
.editor-wrapper {
18
18
/* make it easier to interact with scrollbar */
19
19
padding-right : 8px ;
Original file line number Diff line number Diff line change 297
297
298
298
< style >
299
299
.iframe-container {
300
- border-top : 1px solid # ccc ;
301
300
background-color : white;
301
+ border : none;
302
+ height : 100% ;
302
303
}
303
304
304
305
iframe {
305
306
width : 100% ;
306
- height : calc ( 100 vh -3 em ) ;
307
+ height : 100 % ;
307
308
/* height: calc(100vh - var(--nav-h)); */
308
309
border : none;
309
310
display : block;
310
311
}
311
312
312
- @media (min-width : 768px ) {
313
- .iframe-container {
314
- border : none;
315
- height : 100% ;
316
- }
317
-
318
- iframe {
319
- height : 100% ;
320
- }
321
- }
322
-
323
313
.greyed-out {
324
314
filter : grayscale (50% ) blur (1px );
325
315
opacity : .25 ;
Original file line number Diff line number Diff line change 48
48
.view-toggle {
49
49
height : var (--pane-controls-h );
50
50
border-bottom : 1px solid # eee ;
51
+ white-space : nowrap;
51
52
}
52
53
53
54
button {
Original file line number Diff line number Diff line change 250
250
transform : translate (-50% , 0 );
251
251
}
252
252
253
- @media (min-width : 768 px ) {
253
+ @media (min-width : 600 px ) {
254
254
.container {
255
255
height : 100% ;
256
256
}
272
272
273
273
< div class ="container " bind:clientWidth ={width} >
274
274
< div class ="repl-inner " class:offset ="{show_output} ">
275
- < SplitPane type ="horizontal " fixed ="{768 > width} " pos ={60} fixed_pos ={50} >
275
+ < SplitPane type ="horizontal " fixed ="{600 > width} " pos ={60} fixed_pos ={50} >
276
276
< section slot =a >
277
277
< Input
278
278
{component_store}
Original file line number Diff line number Diff line change 126
126
height : 1px ;
127
127
}
128
128
129
- /* @media (max-width: 767px) {
130
- .pane {
131
- override divider-set dimensions
132
- width: 100% !important;
133
- height: auto !important;
134
- }
135
- } */
136
-
137
- /* @media (min-width: 768px) { */
138
- .left , .right , .divider {
139
- display : block;
140
-
141
- }
129
+ .left , .right , .divider {
130
+ display : block;
131
+ }
142
132
143
- .left , .right {
144
- height : 100% ;
145
- float : left;
146
- }
133
+ .left , .right {
134
+ height : 100% ;
135
+ float : left;
136
+ }
147
137
148
- .top , .bottom {
149
- position : absolute;
150
- width : 100% ;
151
- }
138
+ .top , .bottom {
139
+ position : absolute;
140
+ width : 100% ;
141
+ }
152
142
153
- .top { top : 0 ; }
154
- .bottom { bottom : 0 ; }
155
- /* } */
143
+ .top { top : 0 ; }
144
+ .bottom { bottom : 0 ; }
156
145
</ style >
157
146
158
147
< div class ="container " bind:this ={refs.container} >
Original file line number Diff line number Diff line change 84
84
left : 0 ;
85
85
width : 100% ;
86
86
height : 100% ;
87
+ background-color : var (--back );
88
+ overflow : hidden;
89
+ box-sizing : border-box;
87
90
--pane-controls-h : 4.2rem ;
88
91
}
89
-
90
- /* @media (min-width: 768px) { */
91
- .repl-outer {
92
- background-color : var (--back );
93
- overflow : hidden;
94
- box-sizing : border-box;
95
- }
96
- /* } */
97
92
</ style >
98
93
99
94
< svelte:head >
Original file line number Diff line number Diff line change 157
157
158
158
.pane { width : 100% ; height : 100% }
159
159
160
- @media (min-width : 768 px ) {
160
+ @media (min-width : 600 px ) {
161
161
.repl-outer {
162
162
margin : 0 -4.8rem ; /* can't do calc(0 - var(--side-nav)) */
163
163
}
You can’t perform that action at this time.
0 commit comments