Do not display article meta links text at all (because it's not important to know that there is a raw download link if you want to print it).

This commit is contained in:
Martin Edenhofer 2018-09-06 19:06:09 +02:00
parent 7236e2e703
commit 33346ddea9
2 changed files with 9 additions and 3 deletions

View file

@ -93,6 +93,7 @@
<div class="article-meta-value">
<%- @Icon(@article.type.name, 'article-meta-icon') %>
<%- @T(@article.type.name) %>
<div class="article-meta-links">
<% if @links: %>
<% count = 0 %>
<% for link in @links: %>
@ -101,6 +102,7 @@
<% count =+ 1 %>
<% end %>
<% end %>
</div>
</div>
</div>
</div>

View file

@ -160,17 +160,17 @@ th.js-tableHead:not([data-column-key="icon"]) {
background: none;
border: 1px dashed hsl(240,2%,60%);
padding: 11px 10px 1px;
&.top {
border-bottom-width: 0;
}
&.bottom {
border-top-width: 0;
padding-top: 7px;
padding-bottom: 3px;
}
&-clip {
height: auto !important;
}
@ -180,6 +180,10 @@ th.js-tableHead:not([data-column-key="icon"]) {
}
}
.article-meta-links {
display: none;
}
.article-content {
color: inherit;
}