Skip to content

Commit

Permalink
Merge pull request #46 from mlibrary/removing-specialCharacterUsed-wa…
Browse files Browse the repository at this point in the history
…rning

Removing `specialCharacterUsed` ARC Toolkit Warning
  • Loading branch information
erinesullivan authored Jan 20, 2022
2 parents 405f564 + 04467cb commit 13c4998
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
15 changes: 13 additions & 2 deletions css/styles/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,19 @@ table.browse-table {

.browse-table tbody .vernacular {
color: var(--search-neutral-500);
display: block;
}

.browse-table tbody dl dd:first-of-type .vernacular {
display: block;
.browse-table tbody .vernacular.pipe {
display: inline;
}

.browse-table tbody .vernacular.pipe:before {
background: var(--search-neutral-500);
content: '';
display: inline-block;
height: 1em;
margin: 0 var(--space-x-small);
vertical-align: middle;
width: 1px;
}
6 changes: 3 additions & 3 deletions views/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
<dd>
<%= result.author %>
<% if result.vernacular_author %>
<span class="vernacular">| <%= result.vernacular_author %></span>
<span class="vernacular pipe"><%= result.vernacular_author %></span>
<% end %>
</dd>
<% end %>
Expand All @@ -182,7 +182,7 @@
<dd>
<%= result.publisher %>
<% if result.vernacular_publisher %>
<span class="vernacular">| <%= result.vernacular_publisher %></span>
<span class="vernacular pipe"><%= result.vernacular_publisher %></span>
<% end %>
</dd>
<% end %>
Expand All @@ -191,7 +191,7 @@
<dd>
<%= result.series %>
<% if result.vernacular_series %>
<span class="vernacular">| <%= result.vernacular_series %></span>
<span class="vernacular pipe"><%= result.vernacular_series %></span>
<% end %>
</dd>
<% end %>
Expand Down

0 comments on commit 13c4998

Please sign in to comment.