html,
body,
:global(#root) {
  height: 100%;
}

iframe {
  width: 100%;
  height: 100%;
  display: block;
}


canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  -webkit-overflow-scrolling: auto;
}

// temp fix for https://github.com/ant-design/ant-design/commit/a1fafb5b727b62cb0be29ce6e9eca8f579d4f8b7
:global {

  .scroll-smooth {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  .ant-spin-container {
    overflow: visible !important;
  }

  .global-spin {
    width: 100%;
    margin: 40px 0 !important;
  }

  .ant-tabs-nav-scroll {
    // overflow-x: auto;
    // scroll-behavior: smooth;
  }

  .ant-spin-nested-loading, .ant-spin-container {
    height: 100%;
  }

  .fix-chrome-fixed {
    transform: translateZ(0px);
    -webkit-backface-visibility: hidden;
  }
}
