mirror of
https://github.com/flarum/framework.git
synced 2025-01-23 00:00:45 +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 });
|
||||
break;
|
||||
|
||||
case 'tiny':
|
||||
Object.assign(options, { lines: 8, length: 2, width: 2, radius: 3 });
|
||||
break;
|
||||
|
||||
default:
|
||||
Object.assign(options, { lines: 8, length: 4, width: 3, radius: 5 });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user