Skype buttons size - WTF?

Mar 19, 2016 18:53


Originally published at Moishe Beshkin. You can comment here or there.

I tried to place Skype button on some site and found that image has specific margin.


It seemed a little strange for me, as soon as my code is the following:

Then I looked into the file skypeCheck.js and found the following interesting code:

this.assetMargin = (this.assetSize >= this.assetMarginMinimum) ? this.assetSize : this.assetMarginMinimum;
Skype, really?!
I don’t want margin of a size of my asset. Also setting assetMargin in the script doesn’t change anything, because it is overridden later.

EPIC FAIL, what else I can say.

UPD: SOLUTION
in your css just add the following code:

#SkypeButton_Call_contact_1_paraElement img[style] { margin: 10px !important; }
It overrides style attribute.

issues and resolutions

Previous post Next post
Up