Skip to content

Commit

Permalink
Merge pull request #3207 from cardano-foundation/feat/MET-1957-pool-d…
Browse files Browse the repository at this point in the history
…etails-views

fix: change modal metadata
  • Loading branch information
Sotatek-TaiTruong committed Mar 28, 2024
2 parents 6cb7fb1 + 13aca6e commit bb4da94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/GovernanceVotes/index.tsx
Expand Up @@ -768,7 +768,7 @@ const ActionMetadataModal: React.FC<ActionMetadataProps> = ({ onClose, open, dat
onClose={() => onClose?.()}
title={t("pool.actionMetadata")}
width={500}
sx={{ position: "relative", height: "70vh" }}
sx={{ maxHeight: "70vh" }}
>
<Box display="block" pb="15px">
<Typography fontSize="16px" color={theme.palette.secondary.main}>
Expand Down Expand Up @@ -806,7 +806,7 @@ const ActionMetadataModal: React.FC<ActionMetadataProps> = ({ onClose, open, dat
gap="24px"
mt="20px"
p="24px"
sx={{ background: theme.isDark ? "" : theme.palette.secondary[0], position: "absolute" }}
sx={{ background: theme.isDark ? "" : theme.palette.secondary[0] }}
>
<ViewJson maxHeight={"70vh"}>
<JsonViewer
Expand Down

0 comments on commit bb4da94

Please sign in to comment.