Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

action-sheet.css 605B

1234567891011121314
  1. @media (orientation: portrait) {
  2. html[onsflag-iphonex-portrait] .action-sheet {
  3. bottom: calc(var(--iphonex-safe-area-inset-bottom-portrait) + 14px); /* bottom safe area + 14 pt (extra bottom margin) */
  4. }
  5. }
  6. @media (orientation: landscape) {
  7. html[onsflag-iphonex-landscape] .action-sheet {
  8. /* The width in landscape mode is the same as the width in portrait mode */
  9. left: calc((100vw - (100vh + 20px)) / 2);
  10. right: calc((100vw - (100vh + 20px)) / 2);
  11. bottom: calc(var(--iphonex-safe-area-inset-bottom-landscape) + 12px); /* bottom safe area + 12 pt (extra bottom margin) */
  12. }
  13. }