From: Terran McCanna Date: Wed, 11 Sep 2019 21:53:52 +0000 (-0400) Subject: LP#1843637 MARC View Display Issues X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fmccanna%2Flp1843637_marc_view_display;p=working%2FEvergreen.git LP#1843637 MARC View Display Issues This fixes vertical alignment issues in the MARC View table by removing the deprecated valign tags and moving the inline CSS to the cat.css file. The text within each table cell should now align to the top for better readability. Signed-off-by: Terran McCanna --- diff --git a/Open-ILS/src/templates/staff/css/cat.css.tt2 b/Open-ILS/src/templates/staff/css/cat.css.tt2 index 0b373e407d..5664710aff 100644 --- a/Open-ILS/src/templates/staff/css/cat.css.tt2 +++ b/Open-ILS/src/templates/staff/css/cat.css.tt2 @@ -14,12 +14,10 @@ .marcflateditor { max-width: 100%; - font-family: 'Lucida Console', Monaco, monospace; } .marcfastitemadd, .marctypesource { border-bottom: solid thin gray; - flex-wrap: wrap; } .marcedit { @@ -191,6 +189,28 @@ grid[name="-none-"] * label { color: black; } word-break: break-word; } +.marc_tag_col { + text-align: right; + vertical-align: top; +} + +.marc_tag_ind1 { + vertical-align: top; + padding-left: 3px; + padding-right: 3px; +} + +.marc_tag_ind2 { + vertical-align: top; + border-left: 1px solid #A0A0A0; + padding-left: 3px; +} + +.marc_subfields { + vertical-align: top; + padding-left: 3px; +} + /* * Holdings Editor Styles * / @@ -262,32 +282,5 @@ table.custom-label-table td { .cn-template-text { height: 12em; width: 100%; -} - -.record-merge-container { - flex: 1; - max-height: 600px; - /* - * LP1739293 Leaving for reference in case anyone wants to allow the - * marc records to occupy more horizontal space and/or put scroll bars - * on the individual records instead of a single vertical scroll. - min-width: 600px; - max-width: 900px; - overflow-y: scroll; - */ -} - -.record-merge-container pre { - /* in the merge view, wrap text so it doesn't gobble up - * all of the horizontal space */ - white-space: pre-wrap; -} - -/* Avoid word wrapping in edit mode and add scrolls for navigation */ -.record-edit-container { - flex: 1; - overflow-x: scroll; - overflow-y: scroll; - white-space: nowrap; -} + } diff --git a/Open-ILS/xsl/oilsMARC21slim2HTML.xsl b/Open-ILS/xsl/oilsMARC21slim2HTML.xsl index 76bffcbc9d..373d0100fd 100644 --- a/Open-ILS/xsl/oilsMARC21slim2HTML.xsl +++ b/Open-ILS/xsl/oilsMARC21slim2HTML.xsl @@ -36,7 +36,7 @@ - - - - -
+ LDR @@ -49,7 +49,7 @@
+ @@ -60,16 +60,15 @@
+ + + - .