Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.kv-loader loading gif is not centered correctly #1060

Open
gb5256 opened this issue Mar 31, 2023 · 0 comments
Open

.kv-loader loading gif is not centered correctly #1060

gb5256 opened this issue Mar 31, 2023 · 0 comments

Comments

@gb5256
Copy link

gb5256 commented Mar 31, 2023

Hi,
this is also happening on the demo page:
https://demos.krajee.com/grid-demo

If you for example sort by column, then a loading gif will be displayed.
But this gif is not centered correctly.
It looks like the top left corner of the GIF is in the center, but the whole div is then off-center, based on its width.
I do use a different gif in my setup which is much wider then the default, but then the issue is even more visible.

I tried to change it via CSS (using display:flex etc), but was not able to do so as the script of kartik will add display:block to render it and that way overrules my css changes.

Can this be solved?
Or is there a way to solve it by myself via CSS?

Thanks.
gb5256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant