Skip to content

Commit

Permalink
change css
Browse files Browse the repository at this point in the history
  • Loading branch information
dipaliintelehealth committed Oct 31, 2022
1 parent 91f94b6 commit 328f7db
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
29 changes: 15 additions & 14 deletions src/app/jsmind/jsmind.component.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
<div class="container">
<nav class="navbar navbar-default fixed-top">
<div class="row mt-4 col">
<div class="input-group mb-5 col">
<input
type="file"
class="form-control"
id="inputGroupFile02"
(change)="handleFileInput($event)"
/>
<label class="input-group-text" for="inputGroupFile02">Upload</label>
<div class="row mt-4">
<div class="col-3">
<div class="input-group mb-5">
<input
type="file"
class="form-control"
id="inputGroupFile02"
(change)="handleFileInput($event)"
/>
<label class="input-group-text" for="inputGroupFile02">Upload</label>
</div>
</div>

<div class="col">
<div class="col-9">
<button
type="button"
id="btnAdd"
Expand Down Expand Up @@ -48,11 +49,11 @@
<i class="bi bi-zoom-in"></i>
Zoom in
</button>
<button class="btn btn-primary" (click)="zoomout()">
<button class="btn btn-primary me-3" (click)="zoomout()">
<i class="bi bi-zoom-out"></i>
Zoom out
</button>
<!-- <button
<button
type="button"
id="btnExpand"
class="btn btn-primary me-3"
Expand All @@ -67,7 +68,7 @@
(click)="collapseNode()"
>
Collapse node
</button>-->
</button>
</div>
</div>
</nav>
Expand Down
4 changes: 2 additions & 2 deletions src/app/jsmind/jsmind.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ export class JsmindComponent implements OnInit {
zoomout() {
this.mindMap.view.zoomOut();
}
/* expandNode() {
expandNode() {
this.mindMap.expand_all();
}
collapseNode() {
this.mindMap.collapse_all();
}*/
}
}

0 comments on commit 328f7db

Please sign in to comment.