]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fix print / article views
authorNicolas Lœuillet <nicolas@loeuillet.org>
Fri, 26 Aug 2016 12:26:47 +0000 (14:26 +0200)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Fri, 26 Aug 2016 12:35:43 +0000 (14:35 +0200)
app/Resources/static/themes/material/css/print.css
src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig

index a16be71e945bb4e7bd7e55608742cea3ef2979db..37228cff89e2461a8bee220e2a32b7ff93f636a2 100755 (executable)
   div.tools,
   header div,
   .messages,
-  .entry + .results {
+  .entry + .results,
+  #slide-out,
+  .progress, .hide-on-large-only,
+  #article > aside,
+  #article .mbm a
+  {
     display: none !important;
   }
 
+  main {
+      padding-left: 0 !important;
+  }
+
+  #article {
+      margin: inherit !important;
+  }
+
   article {
     border: none !important;
   }
index eb5d88e36e48ee7caa1478f79255ac19a205fd88..9b587c34a578cedb96e0691bb196fd90f51e5519 100644 (file)
         </header>
         <aside>
             {% set readingTime = entry.readingTime / app.user.config.readingSpeed %}
-            <span class="link mdi-action-query-builder">
+            <span class="mdi-action-query-builder"></span>
+            <span class="link">
                 {% if readingTime > 0 %}
                     {{ 'entry.list.reading_time_minutes_short'|trans({'%readingTime%': readingTime|round}) }}
                 {% else %}
                     {{ 'entry.list.reading_time_less_one_minute_short'|trans|raw }}
                 {% endif %}
             </span>
-            <span class="link mdi-action-today" title="{{ 'entry.view.created_at'|trans }}"> {{ entry.createdAt|date('Y-m-d') }}</span>
+            <span class="mdi-action-today" title="{{ 'entry.view.created_at'|trans }}"> </span> <span class="link">{{ entry.createdAt|date('Y-m-d') }}</span>
             <a href="{{ entry.url|e }}" target="_blank" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|e }}" class="tool">
-            <span class="link"><i class="material-icons link">link</i> {{ entry.domainName|removeWww }}</span></a>
-            <span class="tool link"><i class="material-icons link">comment</i> {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}</span>
+            <i class="material-icons link">link</i> <span class="link">{{ entry.domainName|removeWww }}</span></a>
+            <span class="tool"><i class="material-icons link">comment</i> <span class="link">{{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}</span>
             <div id="list">
                 {% for tag in entry.tags %}
                     <div class="chip">