Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Padding as array #177

Closed
wants to merge 2 commits into from
Closed

Padding as array #177

wants to merge 2 commits into from

Conversation

KillerX
Copy link

@KillerX KillerX commented Mar 7, 2012

In issue #93 there was a request for paddingLeft, paddingRight...
I have added the possibility to provide padding in an array the same way you can do it with margin already now.
Syntax: padding: [ top, right, bottom, left ]
Ex:

$(document).ready(function() {
    $(".fancybox-thumb").fancybox({
        padding: [20, 200, 20, 20]
    });
});

@fancyapps
Copy link
Owner

I`m closing this pull reguest as it has been implemented differently

@fancyapps fancyapps closed this Jul 19, 2012
@brunoimbrizi
Copy link

In which version is it available? You mentioned it was implemented differently, is the syntax still padding: [ top, right, bottom, left ] ?

@fancyapps
Copy link
Owner

You can get the latest from GitHub - https://github.com/fancyapps/fancyBox/zipball/master

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

Successfully merging this pull request may close these issues.

None yet

3 participants