Skip to content
Snippets Groups Projects
Commit b49e7f9a authored by Chif Gergő's avatar Chif Gergő
Browse files

Remove segment from groups page, add padding to comments in EventDeail.

parent ad83b93e
No related branches found
No related tags found
No related merge requests found
...@@ -9,9 +9,9 @@ class CommentModal extends Component { ...@@ -9,9 +9,9 @@ class CommentModal extends Component {
const { notes, user } = this.props; const { notes, user } = this.props;
return notes.map((note) => { return notes.map((note) => {
return ( return (
<Comment key={note.id}> <Comment style={{ padding: '1em' }} stylekey={note.id}>
<Comment.Content> <Comment.Content>
<Comment.Author>{note.created_by_name}</Comment.Author> <Comment.Author><strong>{note.created_by_name}</strong></Comment.Author>
<Comment.Text> <Comment.Text>
{note.note} {note.note}
</Comment.Text> </Comment.Text>
......
...@@ -118,7 +118,7 @@ class EventDetail extends Component { ...@@ -118,7 +118,7 @@ class EventDetail extends Component {
</Table.Row> </Table.Row>
</Table.Header> </Table.Header>
<Table.Body> <Table.Body>
{ this.props.selectedEvent ? { this.props.selectedEvent && this.props.trainees ?
this.renderTrainees() this.renderTrainees()
: :
'' ''
......
...@@ -6,22 +6,6 @@ export default class Groups extends Component { ...@@ -6,22 +6,6 @@ export default class Groups extends Component {
render() { render() {
return ( return (
<div> <div>
<Segment inverted textAlign='center' vertical>
<Container>
<Header
as='h1'
content='Köreink'
inverted
style={{
fontSize: '3em',
fontWeight: 'normal',
marginBottom: 0,
marginTop: '0.5em',
}}
/>
</Container>
</Segment>
<Segment style={{ padding: '8em 0em' }} vertical> <Segment style={{ padding: '8em 0em' }} vertical>
<Container text> <Container text>
<Header as='h3' style={{ fontSize: '2em' }}>DevTeam</Header> <Header as='h3' style={{ fontSize: '2em' }}>DevTeam</Header>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment