1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-12 16:58:37 +00:00

Fix review again

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2017-05-07 17:13:08 +02:00
parent 34806fab1b
commit 4c6ee89c9c
4 changed files with 57 additions and 51 deletions

View file

@ -103,10 +103,13 @@
aside {
.tools {
font-size: 0.8em;
display: flex;
flex-flow: row wrap;
.stats {
font-size: 0.8em;
margin: 8px 15px 5px;
li {
display: inline-flex;
vertical-align: middle;
@ -119,9 +122,10 @@
}
}
#list {
.tags {
float: right;
margin: -5px 15px auto;
margin: 5px 15px 10px;
}
}
.chip {

View file

@ -143,7 +143,7 @@ main {
}
}
a.original {
a.original:not(.waves-effect) {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;

View file

@ -216,7 +216,8 @@
<h1>{{ entry.title|striptags|raw }} <a href="{{ path('edit', { 'id': entry.id }) }}" title="{{ 'entry.view.edit_title'|trans }}">✎</a></h1>
</header>
<aside>
<ul class="tools">
<div class="tools">
<ul class="stats">
<li>
{% include "@WallabagCore/themes/material/Entry/_reading_time.html.twig" with {'entry': entry} only %}
</li>
@ -248,14 +249,15 @@
<i class="material-icons link">comment</i>
{{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}
</li>
<li id="list">
{% for tag in entry.tags %}
<div class="chip">
<a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a> <a href="{{ path('remove_tag', { 'entry': entry.id, 'tag': tag.id }) }}"><i class="material-icons vertical-align-middle">delete</i></a>
</div>
{% endfor %}
</li>
</ul>
<ul class="tags">
{% for tag in entry.tags %}
<li class="chip">
<a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a> <a href="{{ path('remove_tag', { 'entry': entry.id, 'tag': tag.id }) }}"><i class="material-icons vertical-align-middle">delete</i></a>
</li>
{% endfor %}
</ul>
</div>
<div class="input-field nav-panel-add-tag" style="display: none">
{{ render(controller( "WallabagCoreBundle:Tag:addTagForm", { 'id': entry.id } )) }}

File diff suppressed because one or more lines are too long