How to override default styling that has !importan...
# support-questions-legacy
z
How to override default styling that has !important on it in the prebuilt UI? The Google Icon has an extra margin left for some reason
r
hey @zhef.
@porcellus can help here.
z
Okay, thanks!
And by the way, I'm aware that it looks fine without modifying the font.
p
hi. this is something we can (and will) improve in the future. for now I think you could add another selector before the data-supertokens one. I.e.:
div[data-supertokens~=providerButtonLeft]
z
Thanks for the idea! I did it with
Copy code
button div[data-supertokens~="providerButtonLeft"] {
                    margin-left: 0px !important;
                  }
p
happy to help. 🙂
there are a few `!important`s in our code that I'm planning to remove to avoid exactly these issues, I just haven't got around to it yet.
r
@porcellus can you add this to your sprint please? Also, to cehck why there is an extra padding here..
@zhef. , it would be awesome if you could open an issue about this, so we can keep track of the progress
z
haha it's a bit weird to center elements with margin left
Will do. Thanks guys.