1
0
mirror of https://github.com/flarum/core.git synced 2025-01-17 22:29:15 +01: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:
Toby Zerner 2018-09-21 11:19:32 +09:30
parent 6c8c525e57
commit c15bbc9c5e

View File

@ -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 });
}