Skip to content

Commit

Permalink
Merge pull request #90 from Pilpin/master
Browse files Browse the repository at this point in the history
fix(dependencies): removing @ng-bootstrap/ng-bootstrap from the dependencies
  • Loading branch information
NetanelBasal authored Mar 2, 2024
2 parents 7cbd688 + ef30dec commit aac1fc2
Show file tree
Hide file tree
Showing 6 changed files with 103 additions and 97 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ export class AppComponent implements AfterViewInit {
this.hotkeys.registerHelpModal(() => {
const ref = this.modalService.open(HotkeysHelpComponent, { size: 'lg' });
ref.componentInstance.title = 'Custom Shortcuts Title';
ref.componentInstance.dismiss.subscribe(() => ref.close());
});
}
}
Expand Down
181 changes: 97 additions & 84 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
<div class="modal-header">
<div *ngIf="title" class="hotkeys-help-header">
<span class="hotkeys-help-header-title">{{ title }}</span>
<button
type="button"
class="hotkeys-help-header-dismiss-button"
(click)="activeModal.dismiss('Cross click')"
></button>
</div>
<button type="button" class="hotkeys-help-header-dismiss-button" (click)="handleDismiss()">&#x2715;</button>
</div>
<div class="modal-body preview-modal-body">
<table class="hotkeys-table-help" cellspacing="0" width="100%" *ngFor="let hotkeyGroup of hotkeys">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@

.hotkeys-help-header {
font-size: 1.25em;
margin-bottom: 1.25em;
display: flex;
flex-direction: row;
justify-content: space-between;
Expand All @@ -57,7 +56,7 @@
.hotkeys-help-header-dismiss-button {
border: none;
font-size: 18px;
color: #9e9e9e;
background: transparent;
cursor: pointer;
&:focus {
outline: none;
Expand Down
Loading

0 comments on commit aac1fc2

Please sign in to comment.