From 288c4955433e53e173dbd2679aa20f3c55803c77 Mon Sep 17 00:00:00 2001 From: dmh Date: Fri, 16 Feb 2018 15:56:13 +0200 Subject: [PATCH] [BUGFIX] revert - news extension list view: update no-image-markup (#380) --- .../Extensions/News/Partials/List/SimpleList.html | 12 ++++++------ .../dev/styles/main/plugins/news/newsSimpleList.less | 10 +--------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/Resources/Private/Extensions/News/Partials/List/SimpleList.html b/Resources/Private/Extensions/News/Partials/List/SimpleList.html index f8104241..8dc84d57 100644 --- a/Resources/Private/Extensions/News/Partials/List/SimpleList.html +++ b/Resources/Private/Extensions/News/Partials/List/SimpleList.html @@ -25,17 +25,17 @@ -
+
- + - + @@ -44,9 +44,9 @@
- - - +
+
+
diff --git a/felayout_t3kit/dev/styles/main/plugins/news/newsSimpleList.less b/felayout_t3kit/dev/styles/main/plugins/news/newsSimpleList.less index 6bf5c8da..5fab8e9e 100644 --- a/felayout_t3kit/dev/styles/main/plugins/news/newsSimpleList.less +++ b/felayout_t3kit/dev/styles/main/plugins/news/newsSimpleList.less @@ -5,9 +5,8 @@ flex-direction: column; min-height: 266px; - img { + .img-responsive { margin-bottom: 15px; - max-width: 100%; } a { @@ -15,13 +14,6 @@ } } -// max-width:100% is not working in IE so we can set the image width to 100% here -.IE { - .news-simple-list__item img { - width: 100%; - } -} - // use custom width instead of bootstrap media query; // evaluated by testing the ideal value @media (min-width: 540px) {