Skip to content
Snippets Groups Projects
Commit 5f26061a authored by Hidde Leistra's avatar Hidde Leistra
Browse files

Style fixes for feedback options

parent 9df85cf4
No related branches found
No related tags found
3 merge requests!26Premade feedback merge,!24Master->develop (this MR contains no useful information),!23WIP: Highlight feedback
Pipeline #18015 passed with warnings
This commit is part of merge request !24. Comments created here will be created in the context of that merge request.
......@@ -344,7 +344,7 @@ class Exams extends React.Component {
}} />
</div>
<br/>
<label className='label'>Feedback options</label>
{!this.state.editActive && <label className='label'>Feedback options</label>}
</React.Fragment>
)}
</div>
......
......@@ -108,7 +108,7 @@ class EditPanel extends React.Component {
render () {
return (
<React.Fragment>
<p className='panel-heading'>
<p className={this.props.grading ? 'panel-heading' : 'panel-heading is-radiusless'}>
Manage feedback
</p>
......
......@@ -32,7 +32,9 @@ class FeedbackBlock extends React.Component {
render () {
const shortcut = (this.props.index < 11 ? '' : 'shift + ') + this.props.index % 10
return (
<a className='panel-block' onClick={this.props.grading ? this.toggle : this.props.editFeedback}
<a
className={this.props.grading ? 'panel-block is-active' : 'panel-block'}
onClick={this.props.grading ? this.toggle : this.props.editFeedback}
style={this.props.selected ? {backgroundColor: '#209cee'} : {}}
>
<span
......
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