jQuery-Facebook-Photo-Selector icon indicating copy to clipboard operation
jQuery-Facebook-Photo-Selector copied to clipboard

It is not responsive to cell phones

Open dertin opened this issue 9 years ago • 2 comments

It is having trouble for display on cell phones.

dertin avatar Jan 30 '16 18:01 dertin

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;
    }
}

dertin avatar Jan 30 '16 22:01 dertin

Please test and comment my pull request: https://github.com/cshold/jQuery-Facebook-Photo-Selector/pull/26

germain-italic avatar May 12 '16 00:05 germain-italic