File tree Expand file tree Collapse file tree 1 file changed +30
-1
lines changed
Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change 209209 margin-top : 10px ;
210210 }
211211
212+ @media screen and (max-width : 700px ) {
213+ .title {
214+ padding : 0 20px ;
215+ margin-top : 30px ;
216+ text-align : center;
217+ }
218+ main {
219+ height : initial;
220+ }
221+ .intro {
222+ padding : 0 20px ;
223+ width : initial;
224+ }
225+ .start-btn {
226+ margin-top : 15px ;
227+ }
228+ .logo {
229+ margin : 30px 0 ;
230+ position : initial;
231+ }
232+ }
233+
212234 ::-webkit-scrollbar-thumb {
213235 height : 231px ;
214236 background : # 181C23 ;
287309 } , 2000 )
288310 }
289311
312+ var titleChildren = [ ]
313+ titleChildren . push ( m ( 'span' , '携手腾讯云, ' ) )
314+ if ( document . body . clientWidth <= 700 ) {
315+ titleChildren . push ( m ( 'br' ) )
316+ }
317+ titleChildren . push ( m ( 'span' , 'Cloud Studio 全面升级' ) )
318+
290319 // View
291320 var Home = {
292321 view : function ( ) {
293322 return [
294323 m ( 'main' , [
295324 m ( 'h1' , {
296325 class : 'title'
297- } , '携手腾讯云,Cloud Studio 全面升级' ) ,
326+ } , titleChildren ) ,
298327 m ( 'div' , {
299328 class : 'intro'
300329 } , [
You can’t perform that action at this time.
0 commit comments