mirror of
https://github.com/flarum/framework.git
synced 2025-02-09 05:47:14 +08:00
Add "tiny" preset for LoadingIndicator
This is used in various places but had not been added since presets were removed from Spin.js in a recent version upgrade.
This commit is contained in:
parent
c27c968837
commit
4690812402
|
@ -29,6 +29,10 @@ export default class LoadingIndicator extends Component {
|
||||||
Object.assign(options, { lines: 10, length: 8, width: 4, radius: 8 });
|
Object.assign(options, { lines: 10, length: 8, width: 4, radius: 8 });
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'tiny':
|
||||||
|
Object.assign(options, { lines: 8, length: 2, width: 2, radius: 3 });
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
Object.assign(options, { lines: 8, length: 4, width: 3, radius: 5 });
|
Object.assign(options, { lines: 8, length: 4, width: 3, radius: 5 });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user