From 978e0138d34d48280c0522c657caf9973f03f202 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Mon, 16 Sep 2019 15:45:52 -0400 Subject: [PATCH] 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 --- Open-ILS/src/templates/staff/css/cat.css.tt2 | 22 ++++++++++++++++++++++ Open-ILS/xsl/oilsMARC21slim2HTML.xsl | 11 +++++------ 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/Open-ILS/src/templates/staff/css/cat.css.tt2 b/Open-ILS/src/templates/staff/css/cat.css.tt2 index 0b373e407d..ced13b3676 100644 --- a/Open-ILS/src/templates/staff/css/cat.css.tt2 +++ b/Open-ILS/src/templates/staff/css/cat.css.tt2 @@ -191,6 +191,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 * / 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 @@
+ + + - . -- 2.11.0