From: Jeremy Benoist Date: Thu, 1 Sep 2016 20:23:45 +0000 (+0200) Subject: Merge pull request #2242 from wallabag/fix-minor-css X-Git-Tag: 2.1.0~48 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=33adf8dc915f4911fd454e98194c1b2323514d4a;hp=8bde9d0efe69d8481e1a8223909d8a8fdea4a054;p=github%2Fwallabag%2Fwallabag.git Merge pull request #2242 from wallabag/fix-minor-css Fix print / article views --- diff --git a/app/Resources/static/themes/baggy/css/print.css b/app/Resources/static/themes/baggy/css/print.css index 6f187ff5..f7f6a8ad 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 a16be71e..1eb96735 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 6c46f91f..675168bb 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 eb5d88e3..9b587c34 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 @@