Browse Source

Fixes #2691 image removes padding on some other ui

pull/2710/head
jlukic 9 years ago
parent
commit
551e304042
1 changed files with 4 additions and 2 deletions
  1. 6
      src/definitions/elements/list.less

6
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 */

Loading…
Cancel
Save