Skip to content

Commit

Permalink
Fix(web): Modification by feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
JAESUNGPARK2635 committed Jun 27, 2023
1 parent 3b581c5 commit df0ea83
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions web/src/beta/components/SettingsButtons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,9 @@ const SettingsButtons: React.FC<Props> = ({ title, icon, onBlock, onEdit, onSett
return (
<Wrapper>
<StyledMainIcon size={16} onClick={onBlock} icon={icon} />
<Text
size={"xFootnote"}
color={theme.general.content.strong}
otherProperties={{ padding: "0px 4px" }}
onClick={onBlock}>
<StyledText size={"xFootnote"} color={theme.general.content.strong} onClick={onBlock}>
{title}
</Text>
</StyledText>
<StyledSubIcon size={12} icon={"editIcon"} onClick={onEdit} />
<StyledSubIcon size={12} icon={"settings"} onClick={onSetting} />
</Wrapper>
Expand All @@ -37,6 +33,11 @@ const Wrapper = styled.div`
background: ${props => props.theme.general.select};
`;

const StyledText = styled(Text)`
padding: 0px 4px;
cursor: pointer;
`;

const StyledMainIcon = styled(Icon)`
padding: 2px;
cursor: pointer;
Expand Down

0 comments on commit df0ea83

Please sign in to comment.