Fix: improved minimum chat width.

This commit is contained in:
John Livingston
2024-09-02 14:39:26 +02:00
parent 0e98cbaba5
commit 9ee4476f4d
3 changed files with 3 additions and 17 deletions

View File

@ -28,13 +28,14 @@
border: 1px solid black;
min-height: max(30vh, 300px); // Always at least 200px, and ideally at least 30% of viewport.
height: 100%;
min-width: min(400px, 25vw);
converse-muc {
min-height: max(30vh, 300px);
}
@media screen and (orientation: portrait) and (max-width: 767px) {
/* On small screen, and when portrait mode, we are givint the chat more vertical space.
/* On small screen, and when portrait mode, we are giving the chat more vertical space.
It should go under the video.
*/
min-height: max(50vh, 300px);