Skip to content

Commit

Permalink
fix: resolve spacing issue with budget cards (#1235)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstankiewicz authored May 23, 2024
1 parent eba39d7 commit e69159d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/learner-credit-management/SubBudgetCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const BaseSubBudgetCard = ({
to={`/${enterpriseSlug}/admin/${ROUTE_NAMES.learnerCredit}/${budgetId}`}
variant={[BUDGET_STATUSES.expired, BUDGET_STATUSES.retired].includes(budgetLabel.status) ? 'outline-primary' : 'primary'}
>
{(isRetired) ? (
{isRetired ? (
<FormattedMessage
id="lcm.budgets.budget.card.view.budget.history"
defaultMessage="View budget history"
Expand Down Expand Up @@ -143,7 +143,7 @@ const BaseSubBudgetCard = ({
title={<BackgroundFetchingWrapper>{budgetType}</BackgroundFetchingWrapper>}
subtitle={<BackgroundFetchingWrapper>{subtitle}</BackgroundFetchingWrapper>}
actions={showActions ? renderActions(budgetId) : undefined}
className={classNames('align-items-center', { 'mb-4.5': !hasBudgetAggregatesSection })}
className={classNames('align-items-center', { 'mb-4.5': !hasBudgetAggregatesSection() })}
/>
);
};
Expand Down

0 comments on commit e69159d

Please sign in to comment.