Files
ionic-framework/core/src/components/slide/slide.scss
Brandy Carney 7a8d5f68d2 chore(stylelint): remove sass-lint/scss-lint in favor of stylelint
- remove scss-lint and sass-lint
- add stylelint and stylelint-order packages and configuration
- update all *.scss files to new syntax

fixes #14805
2018-07-19 15:10:30 -05:00

47 lines
598 B
SCSS

@import "../../themes/ionic.globals";
// Slide
// --------------------------------------------------
ion-slide {
display: block;
width: 100%;
height: 100%;
}
.slide-zoom {
display: block;
width: 100%;
text-align: center;
}
.swiper-slide {
// Center slide text vertically
display: flex;
position: relative;
flex-shrink: 0;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
font-size: 18px;
text-align: center;
box-sizing: border-box;
}
.swiper-slide img {
width: auto;
max-width: 100%;
height: auto;
max-height: 100%;
}