Commit 5f26061a authored by Hidde Leistra's avatar Hidde Leistra

Style fixes for feedback options

parent 9df85cf4
Pipeline #18015 passed with stages
in 3 minutes
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment