Skip to content

Commit

Permalink
Merge pull request #435 from sparcs-kaist/fix-394-new
Browse files Browse the repository at this point in the history
fix: diasbled button
  • Loading branch information
SnowSuno authored Nov 22, 2023
2 parents 2cba6bb + d22f94e commit f81a811
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/web/src/components/atoms/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export const Button = styled.button<{
}
&:disabled {
cursor: not-allowed;
cursor: none;
background-color: ${theme.colors.white};
}
`,
);
Expand Down
5 changes: 4 additions & 1 deletion packages/web/src/components/organisms/CreateAgendaModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ export const CreateAgendaModal: React.FC = () => {
style={{ textDecoration: "none" }}
>
<Button w={270} h={38} onClick={onSubmit} disabled={!validated}>
<Text variant="boldtitle3" color="blue600">
<Text
variant="boldtitle3"
color={validated ? "blue600" : "gray300"}
>
투표 생성하기
</Text>
</Button>
Expand Down

0 comments on commit f81a811

Please sign in to comment.