Skip to content

Commit c169bc5

Browse files
authored
Allow Privacy Action Cards to Grow (#3669)
1 parent f4ca8cc commit c169bc5

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ The types of changes are:
3535
- Remove name and description fields from integration form [#3684](https://github.com/ethyca/fides/pull/3684)
3636
- Update EU PrivacyNoticeRegion codes and allow experience filtering to drop back to country filtering if region not found [#3630](https://github.com/ethyca/fides/pull/3630)
3737
- Fields with default fields are now flagged as required in the front-end [#3694](https://github.com/ethyca/fides/pull/3694)
38+
- Privacy center action cards are now able to expand to accommodate longer text [#3669](https://github.com/ethyca/fides/pull/3669)
3839

3940

4041
## [2.15.0](https://github.com/ethyca/fides/compare/2.14.1...2.15.0)

clients/privacy-center/components/Card.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const Card: React.FC<CardProps> = ({
2323
data-testid="card"
2424
flexDirection="column"
2525
gap="12px"
26-
h="176px"
26+
minH="176px"
2727
key={title}
2828
m={2}
2929
onClick={() => {
@@ -57,13 +57,7 @@ const Card: React.FC<CardProps> = ({
5757
>
5858
{title}
5959
</Text>
60-
<Text
61-
color="gray.600"
62-
fontSize="xs"
63-
fontWeight="normal"
64-
lineHeight="16px"
65-
noOfLines={3}
66-
>
60+
<Text color="gray.600" fontSize="xs" fontWeight="normal" lineHeight="16px">
6761
{description}
6862
</Text>
6963
</Flex>

0 commit comments

Comments
 (0)