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

It is not responsive to cell phones #25

Open
dertin opened this issue Jan 30, 2016 · 2 comments
Open

It is not responsive to cell phones #25

dertin opened this issue Jan 30, 2016 · 2 comments

Comments

@dertin
Copy link

dertin commented Jan 30, 2016

It is having trouble for display on cell phones.

@dertin dertin changed the title It is not responsive to cell It is not responsive to cell phones Jan 30, 2016
@dertin
Copy link
Author

dertin commented Jan 30, 2016

Quick fix:

@media screen and (max-width: 480px) {
    #CSPhotoSelector {
        padding: 2% 0 0;
    }
    #CSPhotoSelector .CSPhotoSelector_dialog {
        width: 220px !important;
    }
    #CSPhotoSelector .CSPhotoSelector_content {
        width: 199px !important;
        height: 273px !important;
        overflow: scroll !important;
    }
    #CSPhotoSelector .CSPhotoSelector_dialog .CSAlbum_container .CSPhotoSelector_album {
        display: block;
    }
    #CSPhotoSelector .CSPhotoSelector_dialog .CSAlbum_container .CSPhotoSelector_albumWrap div {
        height: 75px !important;
    }
    #CSPhotoSelector .CSPhotoSelector_dialog .CSAlbum_container .CSPhotoSelector_albumWrap {
        width: 155px !important;
    }
    #CSPhotoSelector .CSPhotoSelector_dialog .CSAlbum_container .CSPhotoSelector_album {
        width: auto !important;
    }
    #CSPhotoSelector .CSPhotoSelector_dialog {
        margin-left: 0 !important;
    }
}

germain-italic added a commit to germain-italic/jQuery-Facebook-Photo-Selector that referenced this issue May 11, 2016
germain-italic added a commit to germain-italic/jQuery-Facebook-Photo-Selector that referenced this issue May 12, 2016
Attempts to fix missing responsive support by producing a 1-column albums list and a 2-columns photos list on iPhone 5 and wider.
Related issues :
cshold#16
cshold#25
@germain-italic
Copy link
Contributor

Please test and comment my pull request: #26

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

2 participants