mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 17:22:59 -05:00
* Fix #5238 Notebooks should support relative links - Added detection of relative #links inside notebooks - Added handling of these, at least for current notebook Not handled: open other notebook & scroll to position.
19 lines
1.2 KiB
HTML
19 lines
1.2 KiB
HTML
<!--
|
|
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
-->
|
|
<div style="overflow: hidden; width: 100%; height: 100%; display: flex; flex-flow: column" (mouseover)="hover=true" (mouseleave)="hover=false">
|
|
<div class="notebook-text" style="flex: 0 0 auto;">
|
|
<code-component *ngIf="isEditMode" [cellModel]="cellModel" (onContentChanged)="handleContentChanged()" [model]="model" [activeCellId]="activeCellId">
|
|
</code-component>
|
|
</div>
|
|
<div style="overflow: hidden; width: 100%; height: 100%; display: flex; flex-flow: row">
|
|
<div #preview link-handler [isTrusted]="isTrusted" [notebookUri]="notebookUri" class="notebook-preview" style="flex: 1 1 auto" (dblclick)="toggleEditMode()">
|
|
</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>
|
|
</div>
|