Skip to content

Commit

Permalink
Allow Privacy Action Cards to Grow (#3669)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertKeyser authored and SteveDMurphy committed Jun 30, 2023
1 parent 8669efe commit 98a215e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ The types of changes are:

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

### Changed
- Privacy center action cards are now able to expand to accommodate longer text [#3669](https://github.com/ethyca/fides/pull/3669)

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

### Added
Expand Down
10 changes: 2 additions & 8 deletions clients/privacy-center/components/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Card: React.FC<CardProps> = ({
data-testid="card"
flexDirection="column"
gap="12px"
h="176px"
minH="176px"
key={title}
m={2}
onClick={() => {
Expand Down Expand Up @@ -57,13 +57,7 @@ const Card: React.FC<CardProps> = ({
>
{title}
</Text>
<Text
color="gray.600"
fontSize="xs"
fontWeight="normal"
lineHeight="16px"
noOfLines={3}
>
<Text color="gray.600" fontSize="xs" fontWeight="normal" lineHeight="16px">
{description}
</Text>
</Flex>
Expand Down

0 comments on commit 98a215e

Please sign in to comment.