Skip to content

Commit

Permalink
Merge pull request #956 from NatLibFi/issue955-counts-table-css
Browse files Browse the repository at this point in the history
Adjust style of the "counts by type" table.
  • Loading branch information
osma authored Mar 12, 2020
2 parents e6b48bc + 2929878 commit 11b5f73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion resource/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1288,13 +1288,15 @@ tr.replaced-by > td > ul > li > a {
padding-left: 0;
}

#counts { max-width: 300px; }

#statistics { max-width: 450px; }

#statistics .property-divider, #counts .property-divider {
margin: 0;
}

#statistics td, #statistics th {
#statistics td, #statistics th, #counts td, #counts th {
padding: 0;
}

Expand Down
2 changes: 1 addition & 1 deletion view/vocab-shared.twig
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{% if vocab.config.showStatistics %}
<div>
<h2>{% trans "Resource counts by type" %}</h2>
<table id="counts">
<table class="table" id="counts">
<tr><th class="versal">{% trans "Type" %}</th><th class="versal">{% trans "Count" %}</th></tr>
<tr><td class="property-divider"></td></tr>
</table>
Expand Down

0 comments on commit 11b5f73

Please sign in to comment.