index.less 1022 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. // Mobile responsive: move to top on small screens to prevent text overlap
  11. @media (max-width: 768px) {
  12. top: 0;
  13. right: 0;
  14. width: 100%;
  15. height: 200px;
  16. margin-bottom: 20px;
  17. }
  18. // Tablet responsive: adjust size and position
  19. @media (min-width: 769px) and (max-width: 1024px) {
  20. width: calc(45vw - 32px);
  21. right: 16px;
  22. }
  23. // Ensure minimum width to prevent squashing
  24. @media (min-width: 1025px) and (max-width: 1300px) {
  25. width: calc(45vw - 32px);
  26. right: 0;
  27. }
  28. // Ensure minimum width to prevent squashing
  29. @media (min-width: 1301) {
  30. width: calc(30vw - 64px);
  31. right: 15vw;
  32. }
  33. }
  34. .gedit-playground {
  35. background: transparent !important;
  36. }
  37. .gedit-playground-scroll-right-block {
  38. display: none;
  39. }
  40. .gedit-playground-scroll-bottom-block {
  41. display: none;
  42. }