Skype buttons size – WTF?

I tried to place Skype button on some site and found that image has specific margin.
Screenshot from 2016-03-19 20:42:59
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.

Leave a Reply

%d bloggers like this: