zoom mode: hide .attachments

This commit is contained in:
Andrew Dolgov 2018-12-10 07:20:13 +03:00
parent 557ed6bcad
commit d0d05e4079
4 changed files with 10 additions and 3 deletions

View File

@ -497,10 +497,10 @@ class Handler_Public extends Handler {
$rv .= $line["content"]; $rv .= $line["content"];
/* $rv .= Article::format_article_enclosures($id, $rv .= Article::format_article_enclosures($id,
$line["always_display_enclosures"], $line["always_display_enclosures"],
$line["content"], $line["content"],
$line["hide_images"]); */ $line["hide_images"]);
$rv .= "</div>"; # content $rv .= "</div>"; # content

View File

@ -1893,6 +1893,9 @@ body.ttrss_zoom div.post {
background: white; background: white;
box-shadow: 0px 1px 1px -1px rgba(0, 0, 0, 0.1); box-shadow: 0px 1px 1px -1px rgba(0, 0, 0, 0.1);
} }
body.ttrss_zoom div.post .attachments {
display: none;
}
body.ttrss_zoom div.post div.header { body.ttrss_zoom div.post div.header {
margin: 10px; margin: 10px;
padding-bottom: 10px; padding-bottom: 10px;

File diff suppressed because one or more lines are too long

View File

@ -10,6 +10,10 @@ body.ttrss_zoom {
background : white; background : white;
box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1); box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);
.attachments {
display : none;
}
div.header { div.header {
margin : 10px; margin : 10px;
padding-bottom : 10px; padding-bottom : 10px;