From 51043ccd4394580da470d9396c16f4c165c22258 Mon Sep 17 00:00:00 2001 From: dmh Date: Thu, 7 Jul 2016 16:13:52 +0300 Subject: [PATCH] [FIX] alignment of image in news single view (Podio bug_22) --- dev/styles/main/plugins/news/news.less | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dev/styles/main/plugins/news/news.less b/dev/styles/main/plugins/news/news.less index c3e62c0..2433503 100644 --- a/dev/styles/main/plugins/news/news.less +++ b/dev/styles/main/plugins/news/news.less @@ -160,9 +160,22 @@ width: 282px; margin: 0 0 0 25px; } +.news-single .article .news-img-wrap a{ + margin-bottom: 4px; +} + +@media (max-width: 580px) { + .news-single .article .news-img-wrap { + float: none; + margin-left: 0; + } +} .news-single .article .news-img-wrap img { float: none; + display: block; + max-width: 100%; + height: auto; } .news-single .teaser-text {