sdelements / lets-chat

Self-hosted chat app for small teams
http://sdelements.github.io/lets-chat
MIT License
9.76k stars 1.58k forks source link

Popup Preview for pasted Images #711

Open reinerBa opened 7 years ago

reinerBa commented 7 years ago

I used the embedded jQuery und Bootstrap to open a Modal containing pasted Images. The current solution to give only a download link was for my usecase insufficient. I apologize the style attributes, i did not found a Site.css...

This is a screenshot of the top where the modal appears, it scales in width to 95vw and can be scrolled down till the end. unbekannt

mmeinert commented 7 years ago

Looks nice, did you test on mobile devices ?

reinerBa commented 7 years ago

Thanks :). Not directly, but as i used a Bootstrap modal (which is mobile first) and as i used as new width "95 ViewWidth", which should work on mobile i hope http://www.w3schools.com/cssref/css_units.asp . This is a screenshot of my resized browser :) and the Popup scales with the browser width. unbekannt

hhaidar commented 7 years ago

really cool!

hhaidar commented 7 years ago

Styling is here: https://github.com/sdelements/lets-chat/tree/master/media/less