/* viewer-ohif/platform/app/public/touch.css
 * iPad / touch-only adjustments. Every rule is gated by (pointer: coarse) so
 * desktop is never affected. Keep ALL touch CSS in this one file so OHIF
 * upgrades stay manageable. */

@media (pointer: coarse) {
  /* Pinch zooms the image, not the page; kill rubber-band + double-tap zoom. */
  html,
  body {
    touch-action: pan-x pan-y;
    overscroll-behavior: none;
  }

  /* The Cornerstone viewport canvas owns its own gestures. */
  .viewport-element,
  .cornerstone-canvas {
    touch-action: none;
  }
}
