mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-25 16:29:49 -04:00
FIX: fixed bugs in strongs modal, tweaked display of scroll bars, text in strongs
This commit is contained in:
parent
79a757f765
commit
3a536526c3
@ -1,7 +1,7 @@
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-title>
|
||||
<ion-icon name="paper" item-left></ion-icon> <span *ngIf="item !== undefined"><span *ngIf="data.status === -1">Error:</span>Strongs: {{item.prefix}}{{item.sn}}</span>
|
||||
<ion-icon name="paper" item-left></ion-icon> <span *ngIf="item !== undefined"><span *ngIf="item.status === -1">Error:</span>Strongs: {{item.prefix}}{{item.sn}}</span>
|
||||
</ion-title>
|
||||
<ion-buttons start>
|
||||
<button ion-button (click)="dismiss()" large>
|
||||
@ -10,7 +10,7 @@
|
||||
</ion-buttons>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
<ion-content padding *ngIf="item !== undefined && data.status === 0">
|
||||
<ion-content padding *ngIf="item !== undefined && item.status === 0">
|
||||
<br>
|
||||
<h2>Strong's Definitition</h2>
|
||||
<p>
|
||||
@ -29,12 +29,13 @@
|
||||
</ul>
|
||||
</template>
|
||||
<h2>Cross References</h2>
|
||||
Translated as {{item.crossrefs.ss.length}} words
|
||||
<dl>
|
||||
<dd *ngFor="let wrd of item.crossrefs.ss">
|
||||
{{wrd.w}}: <span *ngFor="let p of wrd.rs"><a (click)="openPassage(p.r)">{{makePassage(p.r)}}</a>, </span>
|
||||
<strong>{{wrd.w}}:</strong> <span *ngFor="let p of wrd.rs"><a (click)="openPassage(p.r)">{{makePassage(p.r)}}</a>, </span>
|
||||
</dd>
|
||||
</dl>
|
||||
</ion-content>
|
||||
<ion-content *ngIf="data !== undefined && data.status === -1">
|
||||
<error-message [msg]="data.msg"></error-message>
|
||||
<ion-content *ngIf="item !== undefined && item.status === -1">
|
||||
<error-message [msg]="item.msg"></error-message>
|
||||
</ion-content>
|
@ -1,5 +1,25 @@
|
||||
strongs-modal {
|
||||
a {
|
||||
cursor: pointer !important;
|
||||
color: black;
|
||||
border-bottom: 1px dotted #b3bfd0;
|
||||
}
|
||||
|
||||
.bar-button-ios {
|
||||
padding-right: 25px;
|
||||
padding-left: 9px;
|
||||
}
|
||||
|
||||
.bar-button-md, .bar-button-wp {
|
||||
padding-left: 25px;
|
||||
padding-right: 9px;
|
||||
}
|
||||
|
||||
.scroll-content {
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
dd {
|
||||
line-height: 1.7em;
|
||||
}
|
||||
}
|
@ -26,10 +26,11 @@
|
||||
</div>
|
||||
<div class="strongs-cross">
|
||||
<h2>Cross References</h2>
|
||||
Translated as {{data.crossrefs.ss.length}} words
|
||||
<ion-scroll scrollY="true">
|
||||
<dl>
|
||||
<dd *ngFor="let wrd of data.crossrefs.ss">
|
||||
<b>{{wrd.w}}</b>: <span *ngFor="let p of wrd.rs"><a (click)="openPassage(p.r)">{{makePassage(p.r)}}</a>, </span>
|
||||
<strong>{{wrd.w}}</strong>: <span *ngFor="let p of wrd.rs"><a (click)="openPassage(p.r)">{{makePassage(p.r)}}</a>, </span>
|
||||
</dd>
|
||||
</dl>
|
||||
</ion-scroll>
|
||||
|
@ -29,6 +29,19 @@ strongs {
|
||||
|
||||
dd {
|
||||
-webkit-margin-start: 12px;
|
||||
line-height: 1.7em;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
}
|
||||
/* Track */
|
||||
::-webkit-scrollbar-track {
|
||||
-webkit-box-shadow: rgba(0,0,0,0.05) 12px 12px inset;
|
||||
}
|
||||
/* Handle */
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: rgba(0,0,0,0.1);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -31,6 +31,19 @@
|
||||
ion-col {
|
||||
margin-bottom: 0px !important;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
}
|
||||
/* Track */
|
||||
::-webkit-scrollbar-track {
|
||||
-webkit-box-shadow: rgba(0,0,0,0.05) 12px 12px inset;
|
||||
}
|
||||
/* Handle */
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 499px) {
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
a {
|
||||
color: black;
|
||||
border-bottom: 1px dotted #ccc;
|
||||
border-bottom: 1px dotted #b3bfd0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user