Skip to content

Commit

Permalink
style: Define max-width to the HighlightCard
Browse files Browse the repository at this point in the history
  • Loading branch information
eryc-cc committed Jul 13, 2022
1 parent e851d03 commit e23d670
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/molecules/HighlightCard/highlight-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ const icons = {

const HighlightCard: React.FC<HighlightCardProps> = ({ label, color, icon, metric }) => {
return (
<div className="flex flex-col bg-white border border-slate-300 rounded-lg h-32">
<div className="flex flex-col bg-white border border-slate-300 rounded-lg max-w-md h-auto p-2">
{/* Top Information */}
<div className="flex justify-space-between">
<div className="flex justify-between w-full p-2">
{/* Label */}
<div></div>

Expand Down

0 comments on commit e23d670

Please sign in to comment.