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

Fix news title grid width and the grid in trainee table

parent 127f1ec0
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,10 @@ class News extends Component { ...@@ -25,7 +25,10 @@ class News extends Component {
style={{ fontSize: '2em', width: '100%' }} style={{ fontSize: '2em', width: '100%' }}
> >
<Grid> <Grid>
<Grid.Column floated='left' width={8}> <Grid.Column
floated='left'
width={this.props.user.role === 'Staff' ? 12 : 16}
>
{item.title} {item.title}
</Grid.Column> </Grid.Column>
{ this.props.user.role === 'Staff' ? { this.props.user.role === 'Staff' ?
......
...@@ -75,7 +75,7 @@ class TraineeTableRow extends Component { ...@@ -75,7 +75,7 @@ class TraineeTableRow extends Component {
<Table.Cell> <Table.Cell>
<Grid> <Grid>
<Grid.Row> <Grid.Row>
<Grid.Column floated='left' width={8} textAlign='left'> <Grid.Column floated='left' width={11} textAlign='left'>
{notes.length > 0 ? {notes.length > 0 ?
<Comment> <Comment>
...@@ -92,7 +92,7 @@ class TraineeTableRow extends Component { ...@@ -92,7 +92,7 @@ class TraineeTableRow extends Component {
null null
} }
</Grid.Column> </Grid.Column>
<Grid.Column floated='right' width={4} textAlign='right'> <Grid.Column floated='right' width={5} textAlign='right'>
{notes.length > 0 ? {notes.length > 0 ?
<CommentModal notes={notes} /> <CommentModal notes={notes} />
: :
......
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