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>
|
[class.selected]="selectedTerminalMenuItem === 'console'">CONSOLE</button>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<app-terminal [hidden]="selectedTerminalMenuItem !== 'terminal'"></app-terminal>
|
<app-terminal [class.hidden]="selectedTerminalMenuItem !== 'terminal'"></app-terminal>
|
||||||
<app-console [hidden]="selectedTerminalMenuItem !== 'console'"></app-console>
|
<app-console [class.hidden]="selectedTerminalMenuItem !== 'console'"></app-console>
|
||||||
</div>
|
</div>
|
||||||
<div class="tfw-sidebar">
|
<div class="tfw-sidebar">
|
||||||
<app-sidebar (layoutChanged)="setLayout($event)" [layout]="layout"></app-sidebar>
|
<app-sidebar (layoutChanged)="setLayout($event)" [layout]="layout"></app-sidebar>
|
||||||
|
@ -112,6 +112,10 @@
|
|||||||
filter: blur(3px);
|
filter: blur(3px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hidden {
|
||||||
|
@include hide-component();
|
||||||
|
}
|
||||||
|
|
||||||
.terminal-ide-web {
|
.terminal-ide-web {
|
||||||
@include set-tfw-web('terminal-ide-web');
|
@include set-tfw-web('terminal-ide-web');
|
||||||
@include position-grid-items(map_get($layouts, 'terminal-ide-web'),'.tfw-');
|
@include position-grid-items(map_get($layouts, 'terminal-ide-web'),'.tfw-');
|
||||||
|
Loading…
Reference in New Issue
Block a user