This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Centring the spinner
#1

I have tried many things that should be obvious.
But obviously I am missing something.
I'm trying to centre the spinner (when the comments are loading) in its container.
Right now, it appears on the upper left side of its container.
This is not a huge issue, of course, but there ought to be a way to this somewhere in the stylesheet or config files.

Thanks.
Reply
#2

In /comments/embed.js you could change this:
Code:
spinner.setAttribute('style', 'margin-top: 5px');

To this:
Code:
spinner.setAttribute('style', 'margin-top: 5px; margin-left: auto; margin-right: auto; display: block;');

Have you completed the interview?
Reply
#3

Thanks. This works perfectly.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)