Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Closing gap between data-filter and listItem

I am dynamically creating data-filter depending on whether or not a REST service returns any value to be displayed in items of a list.

Appery("listProperties").attr("data-filter", true);

The issue is that there is a gap/margin between the data-filter and first ListItem (please see attached screenshot). How may I close this?

Thank you.

Image

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Closing gap between data-filter and listItem

Hi Cody,

Currently it's not fully clear, please specify where you invoke this code.

Also please give us public link and describe steps to reproduce this problem.

Regards.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Closing gap between data-filter and listItem

Dear Cody,

Please use following solution:

1 Create new or open exists css asset.

2 Add following CSS code:

pre

body form.ui-listview-filter{
margin-bottom: 0px;
}

/pre

Regards.

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Closing gap between data-filter and listItem

Thank you very much, Yurii!

Regards.

Return to “Issues”