Learn more about these different git repos.
Other Git URLs
8e91167
@@ -28,9 +28,10 @@
border-bottom-right-radius: 0px;
}
- .CompletionInput .SpinnerCircle {
+ .CompletionInput .Spinner {
position: absolute;
top: 0;
right: 0;
z-index: 2;
+ padding: .5rem;
@@ -20,7 +20,7 @@
.HubHeader > .Spinner {
- left: 1rem;
+ left: 50%;
.HubHeaderRight .btn{
@@ -5,7 +5,7 @@
render() {
return (
- <div className={this.props.className}>
+ <div className={`${this.props.className} Spinner`}>
<i className="fa fa-circle-o-notch fa-spin fa-fw"></i>
</div>
);
@@ -84,7 +84,7 @@
.widget-halp .view-more a {
color: gray;
- .widget-halp .ModalAllRequests .SpinnerCircle {
+ .widget-halp .ModalAllRequests .Spinner {
display: inline-block;
vertical-align: middle;
in the future, we will probably want to make the spinner show in the icon of the state button that is being updated, but this just does what we did before, but with the new fa based spinners.
I also had to make the following changes to fix the spinners in the halp widget (and wherever the CompletionInput component is used:
CompletionInput
--- a/js/app/components/CompletionInput.css +++ b/js/app/components/CompletionInput.css @@ -28,9 +28,10 @@ border-bottom-right-radius: 0px; } -.CompletionInput .SpinnerCircle { +.CompletionInput .Spinner { position: absolute; top: 0; right: 0; z-index: 2; + padding: .5rem; } --- a/js/app/widgets/halp/halp.css +++ b/js/app/widgets/halp/halp.css @@ -98,7 +98,7 @@ .widget-halp .view-more a { color: gray; } -.widget-halp .ModalAllRequests .SpinnerCircle { +.widget-halp .ModalAllRequests .Spinner { display: inline-block; vertical-align: middle; }
Also, when you need to work on the Spinner, I don't know what you workflow is like but you can force it to display by using the react-devtools extension, that allows you to set the properties and state of React components in the page. You just have to locate the component and set the isLoading state to "checked".
isLoading
rebased onto 8e91167
rebased, and applied the patch.
Pull-Request has been merged by abompard
in the future, we will probably want to make the spinner show in the icon
of the state button that is being updated, but this just does what we did
before, but with the new fa based spinners.