mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-22 23:09:49 -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>
|
||||
<app-strongs
|
||||
[data]="cardItem.data"
|
||||
[isCard]="true"
|
||||
(onOpenPassage)="openPassage($event)"
|
||||
(onOpenStrongs)="openStrongs($event)"
|
||||
></app-strongs>
|
||||
|
@ -22,3 +22,4 @@ mat-toolbar {
|
||||
padding: 0px 16px 0px 16px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
<ng-container *ngIf="data">
|
||||
<div class="strongs-container">
|
||||
<div class="strongs-def">
|
||||
<p>
|
||||
<b>{{ data.def.tr }}</b>
|
||||
@ -25,7 +26,7 @@
|
||||
<h2>Cross References</h2>
|
||||
Translated as
|
||||
{{ data.crossrefs.ss.length }} word(s)
|
||||
<div class="strongs-crossrefs">
|
||||
<div [ngClass]="isCard ? 'card-strongs-crossrefs' : ''">
|
||||
<dl>
|
||||
<dd *ngFor="let wrd of data.crossrefs.ss">
|
||||
<strong>{{ wrd.w }}, {{ wrd.rs.length }}</strong
|
||||
@ -38,4 +39,5 @@
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</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;
|
||||
}
|
||||
|
||||
|
@ -12,6 +12,9 @@ export class StrongsComponent {
|
||||
@Input()
|
||||
data: StrongsResult;
|
||||
|
||||
@Input()
|
||||
isCard = false;
|
||||
|
||||
@Output()
|
||||
onOpenPassage = new EventEmitter<string>();
|
||||
|
||||
|
@ -185,6 +185,7 @@ p {
|
||||
}
|
||||
.mat-dialog-container {
|
||||
padding: 0 !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
.mat-dialog-content {
|
||||
padding: 0 12px !important;
|
||||
|
Loading…
x
Reference in New Issue
Block a user