chore: revert other changes

This commit is contained in:
David Ralph
2021-06-23 12:00:12 +01:00
parent ae5a07c756
commit d0577ded59
3 changed files with 2 additions and 15 deletions

View File

@@ -31,7 +31,7 @@ export default class Background extends React.PureComponent {
if (gradient.length > 1) {
// Note: Append the gradient for additional browser support.
const stepStyles = gradient.map((g) => ` ${g.colour} ${g.stop}%`).join();
style += ` background: ${type}-gradient(${(type === 'linear' ? (`${angle}deg,`) : '')}${stepStyles});`;
style += ` background: ${type}-gradient(${(type === 'linear' ? (`${angle}deg,`) : '')}${stepStyles})`;
}
this.setState({