Skip to content

Commit

Permalink
Ajuste la hauteur des cartes du panier (et supprime l'infobulle)
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-rutkowski committed Apr 25, 2024
1 parent cf72f2d commit c83f3fd
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/panier/components/ActionImpact/CarteActionImpact.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import classNames from 'classnames';
import {CarteActionImpactProps} from './types';
import {Badge, Button, Card, Tooltip} from '@tet/ui';
import {Badge, Button, Card} from '@tet/ui';
import NiveauBudget from './NiveauBudget';

/**
Expand All @@ -21,7 +21,7 @@ export const CarteActionImpact = ({

return (
<Card
className={classNames('box-content px-4 py-4 h-20', {
className={classNames('box-content px-4 py-4 h-28', {
'!cursor-default': panier && !isSelected,
})}
isSelected={isSelected}
Expand Down Expand Up @@ -74,9 +74,7 @@ export const CarteActionImpact = ({
</div>
}
>
<Tooltip label={titre}>
<span className="line-clamp-1">{titre}</span>
</Tooltip>
<span className="line-clamp-3">{titre}</span>
</Card>
);
};

0 comments on commit c83f3fd

Please sign in to comment.