Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

826 B
Raw Blame
@use "../../../styles/mixins.scss";

.desktopFrame {
  position: absolute;
  inset: 0;
  --scale: 0.75;

  @include mixins.respond-below(md, true) {
    --scale: 1;
  }

  iframe {
    position: absolute;
    inset: 0;
    width: calc(100% / var(--scale));
    height: calc(100% / var(--scale));
    border: none;
    transform: scale(var(--scale));
    transform-origin: 0 0;
  }
}

.mobileFrame {
  position: absolute;
  top: var(--hi-spacing-md);
  bottom: var(--hi-spacing-md);
  left: 50%;
  width: 390px;
  max-width: calc(100% - 2 * var(--hi-spacing-md));
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid var(--mantine-color-gray-3);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

  iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
}