Fixed #3415 add padding-left/right 8px (#3462)

* Fixed #3415 add padding-left/right 8px

* We will keep CSS consistent for review and editing mode. So removed codes not used.
This commit is contained in:
Yurong He
2018-12-07 09:02:20 -08:00
committed by GitHub
parent 5a30878599
commit 3b08721835
3 changed files with 4 additions and 19 deletions

View File

@@ -9,6 +9,6 @@
<code-component *ngIf="isEditMode" [cellModel]="cellModel" (onContentChanged)="handleContentChanged()" [model]="model" [activeCellId]="activeCellId" [hideVerticalToolbar]=true>
</code-component>
</div>
<div #preview style="flex: 0 0 auto;" (dblclick)="toggleEditMode()">
<div #preview class ="notebook-preview" style="flex: 0 0 auto;" (dblclick)="toggleEditMode()">
</div>
</div>