Editor component scroll issue 05/84505/2
authorArundathi Patil <arundpil@in.ibm.com>
Mon, 8 Apr 2019 10:40:32 +0000 (16:10 +0530)
committerArundathi Patil <arundpil@in.ibm.com>
Mon, 8 Apr 2019 10:52:33 +0000 (10:52 +0000)
Fixed scroll issue in edtor component

Issue-ID: CCSDK-1206
Change-Id: Iddbdf407aeeea3721e41cd3a3ddc0d775d48960e
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html

index ea4c298..5a3973a 100644 (file)
@@ -17,7 +17,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 ============LICENSE_END============================================ -->
-
 <div class="containerDiv">
     <div class="fileViewContainer">
         <!-- <div style="width:inherit; height: inherit; position: fixed;z-index: 1; background-color: rgb(0,0,0);background-color: rgba(0,0,0,0.4);"></div> -->
@@ -46,7 +45,7 @@ limitations under the License.
             </mat-tree-node>
         </mat-tree>
     </div>
-    <div class="editorConatiner">
+    <div class="editorConatiner" [ngClass] = "{ 'apply-scrol-to-editor-container' : viewTemplateMode}">
         <!-- <i class="fa fa-save save-icon" style="font-size:24px" (click)="updateBlueprint()"></i>
         <ace-editor [(text)]="text" [(mode)]="mode" #editor class="aceEditor"></ace-editor> -->
         <div class="normal-editor-mode" [ngClass]="{ 'resource-mapping-mode': viewTemplateMode}">