mirror of
https://github.com/flarum/core.git
synced 2025-05-11 01:45:29 +02: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
6c8c525e57
commit
c15bbc9c5e
@ -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…
x
Reference in New Issue
Block a user