Closed AVatch closed 5 years ago
Thanks for the issue! The latest ion-slides
and ion-slide
components are not using shadow. You can override the styles directly using css like the following:
.swiper-slide {
align-items: start;
}
Below is an example with the following markdown:
ion-slides {
height: 100%;
}
.swiper-slide {
align-items: start;
}
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Feature Request
Ionic Info Run
ionic info
from a terminal/cmd prompt and paste the output below.Describe the Feature Request Right now when ion-slides are used a flex-box centering style is applied to the wrapper classes which forces everything to center.
This causes conflicts if you want to use the slides component for anything other than maybe some type of on-boarding material (eg. slider menus, slider-like tabs), and forces me to revert to using the raw Swiper API. With shadow-dom turned on for view encapsulation, the problem is more present.
Describe Preferred Solution A prop that allows you to not have these css styles applied.