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

Does not display correctly on mobile #7

Open
poVoq opened this issue Sep 15, 2018 · 4 comments
Open

Does not display correctly on mobile #7

poVoq opened this issue Sep 15, 2018 · 4 comments

Comments

@poVoq
Copy link

poVoq commented Sep 15, 2018

When viewing the drop-downs on mobile phones the post new discussion box isn't displayed correctly with this plugin and 3 questions enabled. Thanks for looking into it!

@clarkwinkelmann
Copy link
Member

Hi ! Could you provide us a screenshot and details about which OS and browser it is ?

@clarkwinkelmann
Copy link
Member

Additionally: we're aware of some issues across mobile browsers. #4 might fix them but requires some more testing on browsers. Feel free to check it out if interested in testing. You'll need a developer setup for it though.

@poVoq
Copy link
Author

poVoq commented Sep 16, 2018

Thanks for the quick reply.

It mostly works OK when using a desktop browser (Firefox) that is scaled down to a similar aspect ratio than mobile. However when using an actual mobile browser, either Firefox mobile or through the Flarum webview app, it breaks.
I think the pull-request is pretty much covering it, I'll see if I can get it working.

@dinapolis
Copy link

Problem is still ongoing, can anyone just add this CSS to fix it? I don't have access to the repo


/* fixes spacing */
.Form-group:last-child {
    margin-bottom: 24px !important;
}

 /* mobile settings */
@media (max-width: 767.98px) {
    .Composer:not(.minimized) {
        height: auto !important;
        overflow: scroll;
    }
    .TextEditor-editorContainer {
        min-height: 75vh;
    }
    textarea.FormControl.Composer-flexible.TextEditor-editor {
        min-height: 50vh;
    }

}

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

3 participants