Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
css and citations
  • Loading branch information
andrew-gardener committed Dec 5, 2023
1 parent 1b5f0a5 commit f441e20
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 deletions.
7 changes: 6 additions & 1 deletion public/css/mvm.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/css/mvm.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/sass/components/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

table.table,
table.table-condensed {
border-collapse:separate;
border-collapse:collapse;
border-color: rgba($mvm-brown, 0.15);
tbody, thead{
th, td{
Expand Down
5 changes: 5 additions & 0 deletions public/sass/mvm.scss
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ table.table ul{
}
}
th[role='rowheader']{
border-bottom: none;
width:unset;
}
.note{
Expand Down Expand Up @@ -770,6 +771,10 @@ details {
}
}

.help-block {
color: var(--bs-secondary-color)
}

@import "pages/_index";
@import "pages/_bornDigital";

Expand Down
9 changes: 1 addition & 8 deletions templates/manuscript/show.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -151,17 +151,10 @@
<th>Citation</th>
<td>
{% include 'partial/citation.html.twig' with {
'page_title': manuscript.callNumber
'page_title': manuscript.callNumber,
} %}
</td>
</tr>
{# <tr>
<th>Citation</th>
<td>
{{ manuscript.citation|raw }}
Accessed {{ "now"|date("j M. Y") }}.
</td>
</tr> #}
<tr>
<th>Created</th>
<td>{% if manuscript.created %}{{ manuscript.created|date }}{% endif %}</td>
Expand Down
4 changes: 2 additions & 2 deletions templates/partial/citation.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
<span class="citation-title">Manuscript Verse Miscellanies, 1700–1820</span>,
edited by <span class="citation-editor">Betty A. Schellenberg</span>,
<span class="citation-publisher">Simon Fraser University</span>,
<a class="citation-link" href="{ app.request.uri }}">{{ app.request.uri }}</a>.
<a class="citation-link" href="{{ app.request.uri }}">{{ app.request.uri }}</a>.
Accessed <time class="citation-accessed">{{ "now"|date("j M. Y") }}</time>.
</{{ EL_NAME }}>
</{{ EL_NAME }}>

0 comments on commit f441e20

Please sign in to comment.