Skip to content

Commit a0d71fd

Browse files
committed
Fix UserDetailed style
1 parent 277cadb commit a0d71fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/src/components/FloatedItem/FloatedItem.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const paragraph = <Image src="/assets/short-paragraph.png" />
55

66
// TODO あとで色々なおすよ
77
export const FloatedItem = ({ backgroundColor, imageURL, comment }) => (
8-
<Item.Group relaxed style={{ backgroundColor: "#" + backgroundColor }}>
8+
<Item.Group relaxed style={{ backgroundColor: "#" + backgroundColor, padding: '10px' }}>
99
<Item>
1010
<Item.Image circular size='small' src={ imageURL || "/assets/user.png" } />
1111
<Item.Content verticalAlign='middle'>

frontend/src/pages/UserDetailedPage/UserDetailedPage.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class UserDetailedPage extends Component {
2424
<Container key={ user.id } text style={{ marginTop: '7em' }}>
2525
<Header as='h1'>{ user.firstName + ' ' + user.lastName }</Header>
2626

27-
<FloatedItem paddingTop={'10px'} paddingbottom={'10px'} backgroundColor={ "22222e" } imageURL={ user.imageURL } comment={ user.comment }/>
27+
<FloatedItem backgroundColor={ "22222e" } imageURL={ user.imageURL } comment={ user.comment }/>
2828
</Container>
2929
)
3030
}

0 commit comments

Comments
 (0)