angular.js - In ionic, ion-content plus ion-list and ion-item have their own margins. How to remove this?
阿神
阿神 2017-05-15 17:11:08
0
2
598

In ionic, ion-content plus ion-list and ion-item have their own margins. How to remove this?

阿神
阿神

闭关修行中......

reply all(2)
大家讲道理
<ion-content
[delegate-handle=""]
[direction=""]
[locking=""]
[padding=""]
[scroll=""]
[overflow-scroll=""]
[scrollbar-x=""]
[scrollbar-y=""]
[start-x=""]
[start-y=""]
[on-scroll=""]
[on-scroll-complete=""]
[has-bouncing=""]
[scroll-event-interval=""]>
...
</ion-content>
padding
(optional)
boolean    
Whether to add padding to the content. Defaults to true on iOS, false on Android.

The above is the description of ionic official document. You only need to add padding="fasle" to the ion-content tag.

迷茫

I directly force the use of !important to kill - -

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template