mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-23 07:19:50 -04:00
ok, don't mess with the icons sizes. *sigh*
This commit is contained in:
parent
86f0374cf6
commit
42f165c02b
@ -91,7 +91,9 @@ export class AppComponent extends SubscriberBase implements AfterViewInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
showHelp() {
|
showHelp() {
|
||||||
this.dialog.open(HelpModalComponent);
|
this.dialog.open(HelpModalComponent, {
|
||||||
|
autoFocus: 'content',
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
ngAfterViewInit(): void {
|
ngAfterViewInit(): void {
|
||||||
|
@ -60,6 +60,7 @@ export class CardComponent extends SubscriberBase {
|
|||||||
addToSavedPage() {
|
addToSavedPage() {
|
||||||
this.dialog.open(AddToPageModalComponent, {
|
this.dialog.open(AddToPageModalComponent, {
|
||||||
data: this.cardItem,
|
data: this.cardItem,
|
||||||
|
autoFocus: 'content',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,6 +49,7 @@ export class NoteCardComponent extends CardComponent {
|
|||||||
edit() {
|
edit() {
|
||||||
this.dialog.open(NoteEditModalComponent, {
|
this.dialog.open(NoteEditModalComponent, {
|
||||||
data: this.cardItem,
|
data: this.cardItem,
|
||||||
|
autoFocus: 'note-content',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<div class="title">{{ dialogTitle }}</div>
|
<div class="title">{{ dialogTitle }}</div>
|
||||||
</mat-toolbar>
|
</mat-toolbar>
|
||||||
</div>
|
</div>
|
||||||
<mat-dialog-content>
|
<mat-dialog-content class="content">
|
||||||
<form [formGroup]="form">
|
<form [formGroup]="form">
|
||||||
<mat-form-field class="page-title">
|
<mat-form-field class="page-title">
|
||||||
<mat-label>Title</mat-label>
|
<mat-label>Title</mat-label>
|
||||||
|
@ -149,6 +149,7 @@ export class PassageCardComponent extends CardComponent implements OnInit {
|
|||||||
const card = await this.appService.getStrongsCard(sn, dict);
|
const card = await this.appService.getStrongsCard(sn, dict);
|
||||||
this.dialog.open(StrongsModalComponent, {
|
this.dialog.open(StrongsModalComponent, {
|
||||||
data: card,
|
data: card,
|
||||||
|
autoFocus: 'content',
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.appService.getStrongs(sn, dict, this.cardItem);
|
this.appService.getStrongs(sn, dict, this.cardItem);
|
||||||
|
@ -130,6 +130,7 @@ export class SavedPageCardComponent extends SubscriberBase {
|
|||||||
data: {
|
data: {
|
||||||
title: this.savedPage.title,
|
title: this.savedPage.title,
|
||||||
savedPage: this.savedPage,
|
savedPage: this.savedPage,
|
||||||
|
autoFocus: 'content',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -11,9 +11,3 @@
|
|||||||
.auth-button {
|
.auth-button {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
button>.mat-icon, .mat-mdc-outlined-button>.mat-icon {
|
|
||||||
font-size: 1.125rem !important;
|
|
||||||
height: 1.125rem !important;
|
|
||||||
width: 1.125rem !important;
|
|
||||||
}
|
|
||||||
|
@ -101,7 +101,9 @@ export class SettingsComponent extends SubscriberBase {
|
|||||||
|
|
||||||
savePage() {
|
savePage() {
|
||||||
this.navService.closeSettings();
|
this.navService.closeSettings();
|
||||||
this.dialog.open(PageEditModalComponent);
|
this.dialog.open(PageEditModalComponent, {
|
||||||
|
autoFocus: 'content',
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
updatePage(page: SavedPage) {
|
updatePage(page: SavedPage) {
|
||||||
@ -127,7 +129,9 @@ export class SettingsComponent extends SubscriberBase {
|
|||||||
|
|
||||||
createNote() {
|
createNote() {
|
||||||
this.navService.closeSettings();
|
this.navService.closeSettings();
|
||||||
this.dialog.open(NoteEditModalComponent);
|
this.dialog.open(NoteEditModalComponent, {
|
||||||
|
autoFocus: 'note-content',
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
//#endregion
|
//#endregion
|
||||||
|
@ -39,6 +39,7 @@ export class StrongsCardComponent extends CardComponent {
|
|||||||
const card = await this.appService.getStrongsCard(sn, dict);
|
const card = await this.appService.getStrongsCard(sn, dict);
|
||||||
this.dialog.open(StrongsModalComponent, {
|
this.dialog.open(StrongsModalComponent, {
|
||||||
data: card,
|
data: card,
|
||||||
|
autoFocus: 'content',
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.appService.getStrongs(sn, dict, this.cardItem);
|
this.appService.getStrongs(sn, dict, this.cardItem);
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
</mat-toolbar>
|
</mat-toolbar>
|
||||||
<mat-dialog-content class="content">
|
<mat-dialog-content class="content">
|
||||||
<br />
|
<br />
|
||||||
<app-strongs
|
<app-strongs
|
||||||
[data]="cardItem.data"
|
[data]="cardItem.data"
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</mat-toolbar>
|
</mat-toolbar>
|
||||||
</div>
|
</div>
|
||||||
<mat-dialog-content>
|
<mat-dialog-content class="content">
|
||||||
<div>
|
<div>
|
||||||
<span *ngIf="hasBook === false">
|
<span *ngIf="hasBook === false">
|
||||||
<h2>Old Testament</h2>
|
<h2>Old Testament</h2>
|
||||||
|
@ -30,7 +30,9 @@ export class NotesAdminPageComponent extends SubscriberBase implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
addNote() {
|
addNote() {
|
||||||
this.dialog.open(NoteEditModalComponent);
|
this.dialog.open(NoteEditModalComponent, {
|
||||||
|
autoFocus: 'note-content',
|
||||||
|
});
|
||||||
}
|
}
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.navService.closeNav(); // close the nav immediately.
|
this.navService.closeNav(); // close the nav immediately.
|
||||||
|
@ -93,7 +93,9 @@ export class SearchPageComponent extends SubscriberBase implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
launchPicker() {
|
launchPicker() {
|
||||||
this.dialog.open(VersePickerModalComponent);
|
this.dialog.open(VersePickerModalComponent, {
|
||||||
|
autoFocus: 'content',
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
//#region Search
|
//#region Search
|
||||||
|
@ -45,9 +45,9 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mat-icon {
|
mat-icon {
|
||||||
font-size: 1.2em !important;
|
// font-size: 1.2em !important;
|
||||||
height: 30px !important;
|
// height: 30px !important;
|
||||||
width: 30px !important;
|
// width: 30px !important;
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user