123456789101112131415161718192021222324252627282930313233
  1. @import "../../themes/ionic.globals";
  2. ion-scroll {
  3. position: relative;
  4. display: block;
  5. }
  6. ion-scroll.scroll-x .scroll-content {
  7. overflow-x: auto;
  8. }
  9. ion-scroll.scroll-y .scroll-content {
  10. overflow-y: auto;
  11. }
  12. ion-scroll[center] .scroll-content {
  13. display: flex;
  14. align-items: center;
  15. justify-content: center;
  16. }
  17. ion-scroll .scroll-content {
  18. @include position(0, 0, 0, 0);
  19. position: absolute;
  20. overflow-y: hidden;
  21. overflow-x: hidden;
  22. -webkit-overflow-scrolling: touch;
  23. will-change: scroll-position;
  24. }