Skip to content

Commit

Permalink
Melhorias
Browse files Browse the repository at this point in the history
  • Loading branch information
Andressa-Limas committed Oct 28, 2024
1 parent 6986f4d commit bfcfc68
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/components/BaseCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ interface CardProps{
title: string;
description?: string;
textImage?: string;

image?: string;
route: string;
}
Expand All @@ -21,11 +22,12 @@ const cardStyles = {
WebkitLineClamp: 6,
}

const cardActionsStyle = {
paddingBottom: 4,
paddingLeft: 2,
height: 20
}
const cardActionsStyle = {
paddingBottom: 2, // Diminui o espaçamento inferior
paddingLeft: 2,
height: 'auto', // Remove a altura fixa para ajustar melhor ao conteúdo
justifyContent: 'left',
};

export const BaseCard: React.FC<CardProps> = ({title, description, textImage, image, route}) => {
const router = useRouter()
Expand Down

0 comments on commit bfcfc68

Please sign in to comment.