mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-23 07:19:50 -04:00
fix modal scroll issue
This commit is contained in:
parent
f0cd79f776
commit
28930da115
@ -15,6 +15,7 @@
|
|||||||
<div class="card-content" *ngIf="cardItem" #strongs>
|
<div class="card-content" *ngIf="cardItem" #strongs>
|
||||||
<app-strongs
|
<app-strongs
|
||||||
[data]="cardItem.data"
|
[data]="cardItem.data"
|
||||||
|
[isCard]="true"
|
||||||
(onOpenPassage)="openPassage($event)"
|
(onOpenPassage)="openPassage($event)"
|
||||||
(onOpenStrongs)="openStrongs($event)"
|
(onOpenStrongs)="openStrongs($event)"
|
||||||
></app-strongs>
|
></app-strongs>
|
||||||
|
@ -22,3 +22,4 @@ mat-toolbar {
|
|||||||
padding: 0px 16px 0px 16px;
|
padding: 0px 16px 0px 16px;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<ng-container *ngIf="data">
|
<ng-container *ngIf="data">
|
||||||
|
<div class="strongs-container">
|
||||||
<div class="strongs-def">
|
<div class="strongs-def">
|
||||||
<p>
|
<p>
|
||||||
<b>{{ data.def.tr }}</b>
|
<b>{{ data.def.tr }}</b>
|
||||||
@ -25,7 +26,7 @@
|
|||||||
<h2>Cross References</h2>
|
<h2>Cross References</h2>
|
||||||
Translated as
|
Translated as
|
||||||
{{ data.crossrefs.ss.length }} word(s)
|
{{ data.crossrefs.ss.length }} word(s)
|
||||||
<div class="strongs-crossrefs">
|
<div [ngClass]="isCard ? 'card-strongs-crossrefs' : ''">
|
||||||
<dl>
|
<dl>
|
||||||
<dd *ngFor="let wrd of data.crossrefs.ss">
|
<dd *ngFor="let wrd of data.crossrefs.ss">
|
||||||
<strong>{{ wrd.w }}, {{ wrd.rs.length }}</strong
|
<strong>{{ wrd.w }}, {{ wrd.rs.length }}</strong
|
||||||
@ -38,4 +39,5 @@
|
|||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
@ -1,4 +1,13 @@
|
|||||||
.strongs-crossrefs {
|
|
||||||
max-height: 20em;
|
.strongs-container {
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column;
|
||||||
|
align-items: stretch;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.card-strongs-crossrefs {
|
||||||
|
max-height: 20rem;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@ export class StrongsComponent {
|
|||||||
@Input()
|
@Input()
|
||||||
data: StrongsResult;
|
data: StrongsResult;
|
||||||
|
|
||||||
|
@Input()
|
||||||
|
isCard = false;
|
||||||
|
|
||||||
@Output()
|
@Output()
|
||||||
onOpenPassage = new EventEmitter<string>();
|
onOpenPassage = new EventEmitter<string>();
|
||||||
|
|
||||||
|
@ -185,6 +185,7 @@ p {
|
|||||||
}
|
}
|
||||||
.mat-dialog-container {
|
.mat-dialog-container {
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
|
overflow: hidden !important;
|
||||||
}
|
}
|
||||||
.mat-dialog-content {
|
.mat-dialog-content {
|
||||||
padding: 0 12px !important;
|
padding: 0 12px !important;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user