Page 1 of 1

Closing gap between data-filter and listItem

Posted: Sun Jul 06, 2014 6:19 pm
by Cody Blue

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


Closing gap between data-filter and listItem

Posted: Sun Jul 06, 2014 10:12 pm
by Yurii Orishchuk

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.


Closing gap between data-filter and listItem

Posted: Mon Jul 07, 2014 2:35 am
by Yurii Orishchuk

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.


Closing gap between data-filter and listItem

Posted: Mon Jul 07, 2014 3:18 am
by Cody Blue

Thank you very much, Yurii!

Regards.