@honzapoboril wrote:
Is it possible in ion-content to have some elements with and without padding? In my tests
class="ion-padding-horizontal"
orclass="ion-padding"
woks only on<ion-content>
and<ion-slides>
, not on<ion-text>
.<ion-content> <ion-slides> ... </ion-slides> <ion-text ... class="ion-padding-horizontal" />
This will render as:
<ion-content class="ion-padding-horizontal"> <ion-slides> ... </ion-slides> <ion-text ... />
This will render as:
<ion-content> <ion-slides class="ion-padding-horizontal"> ... </ion-slides> <ion-text ... />
This will render as:
CSS is included like this:
import '@ionic/core/css/core.css' import '@ionic/core/css/ionic.bundle.css'
Versions:
@ionic/core: 5.0.5
@ionic/vue: 0.0.9
vue: 2.6.11Project is available here: https://jeruzalem.poboril.cz/#/page/339249
Thank you for help
Posts: 1
Participants: 1