angular2-ladda icon indicating copy to clipboard operation
angular2-ladda copied to clipboard

Loading icon not in center position

Open shihabudheenf opened this issue 8 years ago • 4 comments

I integrated Ladda with my Angular 5 project using this template and it is working fine, but the position of the loading icon is not centered and the button is still clickable.

shihabudheenf avatar Feb 05 '18 07:02 shihabudheenf

I have the same problem

JhonnyHRocha avatar Jul 17 '18 19:07 JhonnyHRocha

@JhonnyHRocha Is the issue you're having with the same template? Can you share a screenshot of the bug, and inspect the element to see what CSS properties are affecting the loading spinner?

theodorejb avatar Aug 24 '18 02:08 theodorejb

screenshot_20180920_074758

I think its a very similar template. I updated yesterday (npm) and now I have the same issue.

http://html.codedthemes.com/gradient-able/angular-5/default/forms/basic

--> And 5 minutes later I find the issue: I had not imported the ladda style sheet correctly. The README says: or import it in app.scss, e.g.: @import "node_modules/ladda/css/ladda"; I had not done that before so I add this line to my src/scss/style.scss and its working again.

aislingvasey avatar Sep 20 '18 05:09 aislingvasey

for me the issue was the button's html, html hsould be like:

<button id="login_submit" class="btn btn-primary btn-lg btn-rounded font-weight-bold my-3 btn-block btn-anim ladda-button" data-style="expand-left"><span class="ladda-label">Sign In</span></button>

talha2k avatar Nov 26 '21 15:11 talha2k