From 551e304042fc522438e1d2c3840f19ece5cb9186 Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 21 Jul 2015 19:09:36 -0400 Subject: [PATCH] Fixes #2691 image removes padding on some other ui --- src/definitions/elements/list.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/definitions/elements/list.less b/src/definitions/elements/list.less index a59f152f9..652f30790 100755 --- a/src/definitions/elements/list.less +++ b/src/definitions/elements/list.less @@ -127,9 +127,12 @@ ol.ui.list ol li, display: table-cell; background-color: transparent; margin: 0em; - padding-right: @imageDistance; vertical-align: @imageAlign; } +.ui.list .list > .item > .image:not(:only-child):not(img), +.ui.list > .item > .image:not(:only-child):not(img) { + padding-right: @imageDistance; +} .ui.list .list > .item > .image img, .ui.list > .item > .image img { vertical-align: @imageAlign; @@ -140,7 +143,6 @@ ol.ui.list ol li, .ui.list > .item > img.image, .ui.list > .item > .image:only-child { display: inline-block; - padding-right: 0em; } /* Content */