Skip to content

Commit

Permalink
Merge pull request #41 from mavka-org/main
Browse files Browse the repository at this point in the history
fixed TestRadioButton label positioning
  • Loading branch information
arlaptiev authored May 22, 2021
2 parents aca6cc5 + dc11331 commit a8f109c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/components/elements/TestRadioButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ export function TestRadioButton({ children, ...props }){
return (
<div>
<ButtonBase className={classes.button} {...props}>
<Typography component="div" style={{position:'relative', left:'0.5px', top:'-0.5px'}}>
<Box fontWeight="fontWeightBold" >{props.label}</Box>
</Typography>
<strong>{props.label}</strong>
<div className={classes.overfill}></div>
</ButtonBase>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/stories/elements/TestRadioButton.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default {
component: TestRadioButton,
};

export const Default = () => <TestRadioButton label="A"/>;
export const Default = () => <TestRadioButton label="27"/>;

export const Selected = () =>
<Grid container spacing={1}>
Expand Down

0 comments on commit a8f109c

Please sign in to comment.