Skip to content
Snippets Groups Projects
Commit 9e1d82f7 authored by Chris Hallberg's avatar Chris Hallberg Committed by Demian Katz
Browse files

Improved display of spaces in MARC staff view.

- Previously, spaces were collapsed in the HTML rendering of the MARC record, which could obscure the meaning of fixed-position fields like the LEADER, 006, 007 and 008.
- This commit adds new CSS rules and classes to allow greater control over display of MARC fields.
- Resolves VUFIND-1170.
parent 6daac084
No related merge requests found
......@@ -16,7 +16,7 @@
<td width="5%"/>
<td width="*"/>
</tr>
<tr>
<tr class="marc-row-LEADER">
<th>LEADER</th>
<td colspan="3"><xsl:value-of select="//marc:leader"/></td>
</tr>
......@@ -25,7 +25,7 @@
</xsl:template>
<xsl:template match="//marc:controlfield">
<tr>
<tr class="marc-row-{@tag}">
<th>
<xsl:value-of select="@tag"/>
</th>
......@@ -34,7 +34,7 @@
</xsl:template>
<xsl:template match="//marc:datafield">
<tr>
<tr class="marc-row-{@tag}">
<th>
<xsl:value-of select="@tag"/>
</th>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -37,3 +37,10 @@
color: #999;
text-decoration: none;
}
.marc-row-LEADER,
.marc-row-006,
.marc-row-007,
.marc-row-008 {
white-space: pre-wrap;
}
......@@ -303,4 +303,11 @@ span[class^="services-"], span[class*=" services-"] span:first-of-type::before {
}
span[class^="services-"], span[class*=" services-"] span::before {
content: ", ";
}
\ No newline at end of file
}
.marc-row-LEADER,
.marc-row-006,
.marc-row-007,
.marc-row-008 {
white-space: pre-wrap;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment