File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 33}
44
55.tab-cli .content_wrapper {
6- height : calc (100% - 92px );
6+ flex-direction : column;
7+ display : flex;
8+ overflow-x : hidden;
9+ overflow-y : hidden;
710}
811
912.tab-cli p {
1518 border : 1px solid var (--subtleAccent );
1619 background-color : rgba (0 , 0 , 0 , 0.75 );
1720 margin-top : 0 ;
18- height : calc ( 100 % - 90 px ); /* - (p, textarea) */
21+ flex-grow : 1 ;
1922 background-image : url ("../../images/light-wide-1.svg" );
2023 background-repeat : no-repeat;
2124 background-position : 50% 80% ;
7174
7275.tab-cli .window .wrapper {
7376 white-space : pre-wrap;
77+ height : 0px ;
7478}
7579
7680.tab-cli .window .error_message {
Original file line number Diff line number Diff line change @@ -363,9 +363,9 @@ const lineFeedCode = 10;
363363const carriageReturnCode = 13 ;
364364
365365function writeToOutput ( text ) {
366- const windowWrapper = TABS . cli . GUI . windowWrapper ;
367- windowWrapper . append ( text ) ;
368- $ ( '.tab-cli .window' ) . scrollTop ( windowWrapper . height ( ) ) ;
366+ TABS . cli . GUI . windowWrapper . append ( text ) ;
367+ const cliWindow = $ ( '.tab-cli .window' ) ;
368+ cliWindow . scrollTop ( cliWindow . prop ( "scrollHeight" ) ) ;
369369}
370370
371371function writeLineToOutput ( text ) {
You can’t perform that action at this time.
0 commit comments