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 ( - - - - - - - - - - - ); -}; +const DataCard = () => ( + + + +); 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}

-