mirror of
https://github.com/flarum/core.git
synced 2025-07-31 21:50:50 +02:00
Replace spin.js with a CSS-only loading spinner (#2764)
* Create CSS only loading indicator * Core mods to fix Loading Indicator usage * Remove extra whitespace * Attrs interface extends ComponentAttrs and is exported * Add doc block about custom styling
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
|
||||
.LoadingIndicator {
|
||||
.LoadingIndicator-container {
|
||||
height: 46px;
|
||||
}
|
||||
}
|
||||
|
@@ -10,9 +10,10 @@
|
||||
.DiscussionList-loadMore {
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.DiscussionList-loadMore .LoadingIndicator {
|
||||
height: 46px;
|
||||
|
||||
.LoadingIndicator-container {
|
||||
height: 46px;
|
||||
}
|
||||
}
|
||||
|
||||
@media @phone {
|
||||
|
Reference in New Issue
Block a user