@@ -613,7 +613,7 @@ function loadPage() {
613613 orden . innerHTML  =  lecciones [ leccionActual ] . orden ; 
614614
615615 // Actualizar comando en boton 
616-  let  button  =  document . querySelector ( '#instrucciones button ' ) ; 
616+  let  button  =  document . querySelector ( '.comando ' ) ; 
617617 button . innerHTML  =  lecciones [ leccionActual ] . comando ; 
618618
619619 // Limpiar areaTareas 
@@ -952,13 +952,34 @@ function loadPage() {
952952 let  column2  =  document . querySelector ( '.column-2' ) ; 
953953 document . querySelector ( '.show-repo' ) . classList . toggle ( 'hidden' ) ; 
954954 column1 . style . width  =  '100%' ; 
955+  column1 . style . flexDirection  =  'row' ; 
955956 column2 . classList . toggle ( 'hidden' ) ; 
957+ 958+  // Reordenar columna 1 
959+  let  instrucciones  =  document . querySelector ( '#instrucciones' ) ; 
960+  let  terminal  =  document . querySelector ( '#terminal' ) ; 
961+  instrucciones . style . width  =  '50%' ; 
962+  instrucciones . style . height  =  '100%' ; 
963+  consoleArea . style . height  =  '100%' ; 
964+  terminal . style . width  =  '50%' ; 
965+  terminal . style . height  =  '100%' ; 
966+  terminal . style . marginTop  =  'auto' ; 
956967 } ) 
957968 // Volver a mostrar columna del repositorio 
958969 document . querySelector ( '.show-repo' ) . addEventListener ( 'click' ,  ( )  =>  { 
959970 let  column1  =  document . querySelector ( '.column-1' ) ; 
960971 let  column2  =  document . querySelector ( '.column-2' ) ; 
972+  // Reordenar columna 1 
973+  let  instrucciones  =  document . querySelector ( '#instrucciones' ) ; 
974+  let  terminal  =  document . querySelector ( '#terminal' ) ; 
961975 column1 . style . width  =  '70%' ; 
976+  column1 . style . flexDirection  =  'column' ; 
977+  instrucciones . style . width  =  '100%' ; 
978+  instrucciones . style . height  =  'auto' ; 
979+  consoleArea . style . height  =  '400px' ; 
980+  terminal . style . width  =  '100%' ; 
981+  terminal . style . height  =  '400px' ; 
982+  terminal . style . marginTop  =  '0' ; 
962983 setTimeout ( function ( )  { 
963984 column2 . classList . toggle ( 'hidden' ) ; 
964985 } ,  900 ) ; 
0 commit comments