index.less 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /**
  2. * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
  3. * SPDX-License-Identifier: MIT
  4. */
  5. .flowgram-logo-container {
  6. position: absolute;
  7. top: 50px;
  8. width: calc(30vw - 64px);
  9. height: 550px;
  10. opacity: 0;
  11. // Mobile responsive: move to top on small screens to prevent text overlap
  12. @media (max-width: 768px) {
  13. top: 0;
  14. right: 0;
  15. width: 100%;
  16. height: 200px;
  17. margin-bottom: 20px;
  18. }
  19. // Tablet responsive: adjust size and position
  20. @media (min-width: 769px) and (max-width: 1024px) {
  21. width: calc(45vw - 32px);
  22. right: 16px;
  23. }
  24. // Ensure minimum width to prevent squashing
  25. @media (min-width: 1025px) and (max-width: 1300px) {
  26. width: calc(45vw - 32px);
  27. right: 0;
  28. }
  29. // Ensure minimum width to prevent squashing
  30. @media (min-width: 1301) {
  31. width: calc(30vw - 64px);
  32. right: 15vw;
  33. }
  34. }
  35. .gedit-playground {
  36. background: transparent !important;
  37. }
  38. .gedit-playground-scroll-right-block {
  39. display: none;
  40. }
  41. .gedit-playground-scroll-bottom-block {
  42. display: none;
  43. }