Skip to content
Snippets Groups Projects
Commit 9df3d26b authored by Ruben Young On's avatar Ruben Young On
Browse files

Merge branch 'master' of https://gitlab.kwant-project.org/works-on-my-machine/zesje into develop

parents 71fcc55a a0be891d
Branches test/add-api-tests
No related tags found
No related merge requests found
Pipeline #18328 passed
......@@ -276,9 +276,13 @@ class Grade extends React.Component {
renderSuggestion={(submission) => {
const stud = submission.student
return (
<div>
<b>{`${stud.firstName} ${stud.lastName}`}</b>
<i style={{float: 'right'}}>({stud.id})</i>
<div className='flex-parent'>
<b className='flex-child truncated'>
{`${stud.firstName} ${stud.lastName}`}
</b>
<i className='flex-child fixed'>
({stud.id})
</i>
</div>
)
}}
......
.box.is-graded {
box-shadow: 0px 0px 6px #23d160, 0 0 0 1px rgba(10, 10, 10, 0.1);
}
.flex-parent {
display: flex;
align-items: center;
}
.flex-child.truncated {
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.flex-child.fixed {
white-space: nowrap;
}
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