Fix tabbing through Notebook cells (#9758)

* Fix tabbing through Notebook cells

* Fix toggle tab command and re-order DOM
This commit is contained in:
Charles Gagnon
2020-03-27 13:23:25 -07:00
committed by GitHub
parent a9240f38f7
commit 068e1488cf
6 changed files with 30 additions and 28 deletions

View File

@@ -5,12 +5,14 @@
*--------------------------------------------------------------------------------------------*/
-->
<div style="width: 100%; height: 100%; display: flex; flex-flow: row" (mouseover)="hover=true" (mouseleave)="hover=false">
<div #toolbar class="toolbar">
</div>
<div style="flex: 1 1 auto; flex-flow: column; overflow: hidden;">
<div #editor class="editor"></div>
<div style="display: flex; flex-flow: row">
<div #toolbar class="toolbar"></div>
<div style="flex: 1 1 auto; overflow: hidden;">
<div #editor class="editor"></div>
</div>
<div #moreactions class="moreActions" style="flex: 0 0 auto; flex-flow:column;width: 20px; min-height: 20px; max-height: 20px; padding-top: 0px; orientation: portrait"></div>
</div>
<collapse-component *ngIf="cellModel.cellType === 'code' && cellModel.source && cellModel.source.length > 1" [cellModel]="cellModel" [activeCellId]="activeCellId"></collapse-component>
</div>
<div #moreactions class="moreActions" style="flex: 0 0 auto; display: flex; flex-flow:column;width: 20px; min-height: 20px; max-height: 20px; padding-top: 0px; orientation: portrait">
</div>
</div>