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

Responsive Chat #23

Open
chrisdevel opened this issue Dec 22, 2021 · 2 comments
Open

Responsive Chat #23

chrisdevel opened this issue Dec 22, 2021 · 2 comments

Comments

@chrisdevel
Copy link

Hi guys,

I am heavily using your chat and it works just awesome. However, I am currently facing an issue with the responsiveness on mobile devices. In the screenshot below I am acceessing the chat from my ipad (9.7inch). The arrangement of text and dialogs depends on horizontal or vertical view (pic1 vertical.jpg, pic2 horizontal.jpg - attachment). Obviously in the horizontal view the text is not displayed / readable anymore.

Due to the html standardization (in my django project) the chat's main.js is implemented into a html file (pic3 html.png- attachment) which is inherited from base.html.

I strongly believe that it has something to do with the meta-tag or viewport in the base.html (e.g. pic4 meta.png). Any clue how to solve this problem? I appreciate your help - many thanks!

pic4 meta
pic3 html
pic1 vertical
pic2 horizontal

@delneg
Copy link
Collaborator

delneg commented Dec 22, 2021

You could try setting something like min-height: 60%; for .message-list
Otherwise than that I don't think i know what can be the issue, i'm no css expert.
The components i'm using for the demo are from https://github.com/Detaysoft/react-chat-elements, maybe try updating to a newer version or searching for existing issues there / filing a new issue.

@buneshwarEc
Copy link

how to host on server what change do before hosting

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