Skip to content
Snippets Groups Projects
Unverified Commit ccdbb8e9 authored by Ariya Hidayat's avatar Ariya Hidayat Committed by GitHub
Browse files

Components in store admin should not use prop shorthands (#17640)

parent ea956330
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ const StoreIconWrapper = ({ children, color }) => (
p={2}
bg={color || colors["brand"]}
color="white"
w={WRAPPER_SIZE}
width={WRAPPER_SIZE}
style={{ borderRadius: 99, height: WRAPPER_SIZE }}
>
{children}
......
......@@ -209,7 +209,7 @@ const AccountStatus = ({
flexDirection="column"
className={className}
p={[2, 4]}
w="100%"
width="100%"
>
<Box>
<h2>{title}</h2>
......@@ -219,7 +219,7 @@ const AccountStatus = ({
{subtitle}
</Box>
)}
<Flex mt={4} align="center" flexWrap="wrap" w="100%">
<Flex mt={4} align="center" flexWrap="wrap" width="100%">
{featuresOrdered.map(([id, feature]) => (
<Feature
key={id}
......@@ -245,7 +245,7 @@ const CallToAction = ({ title, buttonText, buttonLink }) => (
);
const Feature = ({ feature, included, expired, preview }) => (
<Box w={[1, 1 / 2, 1 / 4]} p={2}>
<Box width={[1, 1 / 2, 1 / 4]} p={2}>
<Card
p={[1, 2]}
style={{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment