From 027954f6666629749bb4a6d530ae90d6ce58974c Mon Sep 17 00:00:00 2001 From: uchiha-suraj Date: Mon, 28 Sep 2026 20:24:21 +0530 Subject: [PATCH 1/2] fix(integrations): improve DataCard responsiveness Signed-off-by: uchiha-suraj --- src/components/specs/data-card.js | 109 ++++++++++++++-------------- src/components/specs/index.js | 12 +-- src/components/specs/specs.style.js | 48 +++++++----- 3 files changed, 86 insertions(+), 83 deletions(-) diff --git a/src/components/specs/data-card.js b/src/components/specs/data-card.js index ff72b38ed60f20..43194c5b6ed48f 100644 --- a/src/components/specs/data-card.js +++ b/src/components/specs/data-card.js @@ -1,6 +1,5 @@ import React from "react"; import styled from "styled-components"; -import { Col, Row } from "../../reusecore/Layout"; import List_Icon from "../../assets/images/app/tick.svg"; const DataCardWrapper = styled.div` @@ -11,73 +10,71 @@ const DataCardWrapper = styled.div` transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); ul { + display: grid; + grid-template-columns: 1fr; + gap: 1.25rem; list-style: none; + margin: 0; padding: 0; + + @media (min-width: 768px) { + grid-template-columns: repeat(2, minmax(0, 1fr)); + column-gap: 1.5rem; + } } - .col-1 li { + + li { display: flex; - align-items: center; - vertical-align: center; - margin-bottom: 1.5rem; + align-items: flex-start; + gap: 1rem; + min-width: 0; + img { - margin-right: 1rem; + width: 20px; + height: 20px; + flex: 0 0 20px; + margin-top: 0.15rem; } + h5 { + min-width: 0; + margin: 0; font-weight: 600; + line-height: 1.4; transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); } } - - .col-2 li { - h3 { - color: ${(props) => props.theme.secondaryColor}; - font-weight: 700; - } - p { - font-size: 16px; - } - } `; -const DataCard = () => { - return ( - - - -
    -
  • - -
    Extensive library of integrations
    -
  • -
  • - -
    Infrastructure orchestration
    -
  • -
  • - -
    Multi-player editing
    -
  • -
- - -
    -
  • - -
    Ready-to-use templates
    -
  • -
  • - -
    Visual drag & drop
    -
  • -
  • - -
    Operate with No Code
    -
  • -
- -
-
- ); -}; +const DataCard = () => ( + +
    +
  • + +
    Extensive library of integrations
    +
  • +
  • + +
    Ready-to-use templates
    +
  • +
  • + +
    Infrastructure orchestration
    +
  • +
  • + +
    Visual drag & drop
    +
  • +
  • + +
    Multi-player editing
    +
  • +
  • + +
    Operate with No Code
    +
  • +
+
+); export default DataCard; diff --git a/src/components/specs/index.js b/src/components/specs/index.js index fb1487be0065a5..2cb7a9eb104594 100644 --- a/src/components/specs/index.js +++ b/src/components/specs/index.js @@ -11,19 +11,15 @@ const HowMesheryWorksSpecs = ({ title, desc, btnUrl }) => {
- - + +

{title}

{desc}

-