From: Bill Erickson Date: Thu, 21 Nov 2019 17:36:34 +0000 (-0500) Subject: LPXXX editor continued X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bb11676eb5e8a09f69cbcbd2d7f8365092f8cf37;p=working%2FEvergreen.git LPXXX editor continued Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.css b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.css index 53d10110fc..1206312a6d 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.css +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.css @@ -7,3 +7,8 @@ div[contenteditable] { /* match BS form-control input height */ min-height: calc(1.5em + .75rem + 2px); } + +/* snuggle the delimiter and subfield codes */ +.sf-delimiter { margin-right: -0.4rem; } +.sf-code { margin-left: -0.4rem; } + diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.ts b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.ts index 17f2a4d967..1c3cc11174 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.ts @@ -244,8 +244,6 @@ export class EditableContentComponent implements OnInit, AfterViewInit { this.context.record.cloneField(this.field) ); - } else { - const field = this.record.getNextField(this.field.fieldId); if (field) { this.context.requestFieldFocus( @@ -267,8 +265,6 @@ export class EditableContentComponent implements OnInit, AfterViewInit { this.context.record.cloneField(this.field) ); - } else { - const field = this.record.getPreviousField(this.field.fieldId); if (field) { this.context.requestFieldFocus( diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/rich-editor.component.html b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/rich-editor.component.html index df70af04f5..b14628ef75 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/rich-editor.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/rich-editor.component.html @@ -55,13 +55,13 @@ + moreClasses="sf-delimiter text-primary border-right-0 bg-transparent"> + moreClasses="sf-code text-primary border-left-0">