mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2024-11-01 10:21:20 +00:00
Fix terminal invisible on terminalOrConsole == 'console'
This commit is contained in:
parent
bc50d52f4d
commit
5b9046e967
@ -34,8 +34,8 @@
|
||||
[class.selected]="selectedTerminalMenuItem === 'console'">CONSOLE</button>
|
||||
</div>
|
||||
<hr>
|
||||
<app-terminal [hidden]="selectedTerminalMenuItem !== 'terminal'"></app-terminal>
|
||||
<app-console [hidden]="selectedTerminalMenuItem !== 'console'"></app-console>
|
||||
<app-terminal [class.hidden]="selectedTerminalMenuItem !== 'terminal'"></app-terminal>
|
||||
<app-console [class.hidden]="selectedTerminalMenuItem !== 'console'"></app-console>
|
||||
</div>
|
||||
<div class="tfw-sidebar">
|
||||
<app-sidebar (layoutChanged)="setLayout($event)" [layout]="layout"></app-sidebar>
|
||||
|
@ -112,6 +112,10 @@
|
||||
filter: blur(3px);
|
||||
}
|
||||
|
||||
.hidden {
|
||||
@include hide-component();
|
||||
}
|
||||
|
||||
.terminal-ide-web {
|
||||
@include set-tfw-web('terminal-ide-web');
|
||||
@include position-grid-items(map_get($layouts, 'terminal-ide-web'),'.tfw-');
|
||||
|
Loading…
Reference in New Issue
Block a user