Skip to content

Commit

Permalink
Merge pull request #197 from IntersectMBO/feat/141-create-a-sole-vote…
Browse files Browse the repository at this point in the history
…r-card

feat/141-create-a-sole-voter-card
  • Loading branch information
JanJaroszczak authored Feb 19, 2024
2 parents 180a39f + 8b11487 commit 2759509
Show file tree
Hide file tree
Showing 11 changed files with 316 additions and 213 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ As a minor extension, we also keep a semantic version for the `UNRELEASED`
changes.

## [Unreleased]
- Add Sole Voter card [Issue 141](https://github.com/IntersectMBO/govtool/issues/141)
- Create Checkbox component. Improve Field and ControlledField [Issue 177](https://github.com/IntersectMBO/govtool/pull/177)
- Vitest unit tests added for utils functions [Issue 81](https://github.com/IntersectMBO/govtool/issues/81)
- i18next library added to FE [Issue 80](https://github.com/IntersectMBO/govtool/issues/80)

### Fixed

- Fix copy for maintenance page [Issue 180](https://github.com/IntersectMBO/govtool/issues/180)
- Fix misleading metadata hash text [Issue 90](https://github.com/IntersectMBO/govtool/issues/90)
- Fixed vote calculation problems related to NoConfidence DRep [Issue 59](https://github.com/IntersectMBO/govtool/issues/59)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion govtool/frontend/src/components/molecules/ActionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ export const ActionCard: FC<ActionCardProps> = ({ ...props }) => {
<Button
data-testid={dataTestIdFirstButton}
onClick={firstButtonAction}
size="large"
sx={{
width: MOBILE_AND_WIDE_CONDITION ? "100%" : "auto",
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ type DashboardActionCardProps = {
firstButtonIsLoading?: boolean;
firstButtonLabel?: string;
firstButtonVariant?: ButtonProps["variant"];
imageHeight?: number;
imageURL?: string;
imageWidth?: number;
inProgress?: boolean;
isLoading?: boolean;
secondButtonAction?: () => void;
Expand Down Expand Up @@ -62,17 +60,15 @@ export const DashboardActionCard: FC<DashboardActionCardProps> = ({

return (
<Box
mb={3}
p={3}
sx={{ boxShadow: `5px 5px 15px 5px ${boxShadow2}` }}
border={inProgress && !isLoading ? 1 : 0}
borderColor="accentOrange"
borderRadius={3}
flex={1}
display="flex"
flex={1}
flexDirection="column"
border={inProgress && !isLoading ? 1 : 0}
borderColor="accentOrange"
p={3}
position="relative"
maxWidth={440}
sx={{ boxShadow: `5px 5px 15px 5px ${boxShadow2}` }}
>
{inProgress && !isLoading && (
<Box
Expand Down
Loading

0 comments on commit 2759509

Please sign in to comment.