diff --git a/app/Resources/static/themes/baggy/css/print.css b/app/Resources/static/themes/baggy/css/print.css index 6f187ff54..f7f6a8ad3 100755 --- a/app/Resources/static/themes/baggy/css/print.css +++ b/app/Resources/static/themes/baggy/css/print.css @@ -26,7 +26,9 @@ div.tools, header div, .messages, - .entrie + .results { + .entrie + .results, + #article .mbm a, + #article-informations { display: none !important; } diff --git a/app/Resources/static/themes/material/css/print.css b/app/Resources/static/themes/material/css/print.css index a16be71e9..1eb96735a 100755 --- a/app/Resources/static/themes/material/css/print.css +++ b/app/Resources/static/themes/material/css/print.css @@ -26,10 +26,23 @@ 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; } diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig index 6c46f91fc..675168bba 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig @@ -30,29 +30,32 @@
  • {{ 'entry.view.left_menu.problem.label'|trans }}
  • - - - - {% set nbAnnotations = entry.annotations | length %} - comment {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }} - + + + + {% set nbAnnotations = entry.annotations | length %} + comment {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }} + + {% if entry.previewPicture is not null %}
    {{ entry.title|raw }}
    {% endif %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig index eb5d88e36..9b587c34a 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig @@ -206,17 +206,18 @@