@soul-refiner/design-system 0.2.22 → 0.2.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12,7 +12,7 @@ export const ActionCard = ({ actions, content, href, image, logo, subtitle, sx,
|
|
|
12
12
|
React.createElement(H, { as: "span", "$mediumBold": true, "$color": "grey-2", "$fontSize": 18, "$lineHeight": 26 }, title),
|
|
13
13
|
React.createElement(P, { as: "span", "$color": "grey-4", "$fontSize": 12, "$lineHeight": 16 }, subtitle),
|
|
14
14
|
React.createElement(P, { as: "span", "$color": "grey-3", "$fontSize": 14, "$lineHeight": 20, "$textAlign": "center", "$textClampLines": 3, sx: "margin-top: 12px;" }, content),
|
|
15
|
-
React.createElement(Box, { "$display": "flex", "$dir": "row", "$gap": 8, sx: "margin-top:
|
|
15
|
+
React.createElement(Box, { "$display": "flex", "$dir": "row", "$gap": 8, sx: "margin-top: auto; width: 100%;" }, React.Children.toArray(actions))))));
|
|
16
16
|
};
|
|
17
17
|
const Wrapper = styled.div `
|
|
18
18
|
text-decoration: none;
|
|
@@ -20,10 +20,8 @@ const Wrapper = styled.div `
|
|
|
20
20
|
`;
|
|
21
21
|
const Action = styled.figure `
|
|
22
22
|
position: relative;
|
|
23
|
-
aspect-ratio: 310 / 374;
|
|
24
23
|
border-radius: 16px;
|
|
25
|
-
|
|
26
|
-
width: 100%;
|
|
24
|
+
width: 310px;
|
|
27
25
|
margin: 0px;
|
|
28
26
|
display: flex;
|
|
29
27
|
flex-flow: column nowrap;
|
|
@@ -37,7 +35,8 @@ const Action = styled.figure `
|
|
|
37
35
|
}
|
|
38
36
|
|
|
39
37
|
& > img {
|
|
40
|
-
|
|
38
|
+
height: 160px;
|
|
39
|
+
width: 310px;
|
|
41
40
|
border-radius: 16px 16px 0px 0px;
|
|
42
41
|
object-fit: cover;
|
|
43
42
|
}
|
|
@@ -49,7 +48,7 @@ const Figcaption = styled.figcaption `
|
|
|
49
48
|
display: flex;
|
|
50
49
|
align-items: center;
|
|
51
50
|
flex-flow: column nowrap;
|
|
52
|
-
|
|
51
|
+
height: 214px;
|
|
53
52
|
padding: 36px 16px 16px;
|
|
54
53
|
box-sizing: border-box;
|
|
55
54
|
background-color: var(--color-white);
|