suit-companies-comp.component.scss 530 B

1234567891011121314151617181920
  1. .container {
  2. display: flex;
  3. flex-direction: column;
  4. align-items: center;
  5. width: 100%;
  6. }
  7. .carousel-wrapper {
  8. width: 100%;
  9. max-width: 1200px; /* 设置最大宽度,根据需要进行调整 */
  10. z-index: 1; /* 设置一个较高的 z-index 值,以确保在页面顶部显示 */
  11. }
  12. .component-wrapper {
  13. height: 48vh;
  14. width: 100%;
  15. max-width: 1200px; /* 设置最大宽度,与轮播图容器相同 */
  16. margin-top: 20px; /* 调整与轮播图的间距,根据需要进行调整 */
  17. overflow: hidden scroll;
  18. }