From 1b97366cd8a5620f82f1a5c981bd50c76aec4d18 Mon Sep 17 00:00:00 2001 From: matty Date: Wed, 19 Jun 2024 18:19:19 -0400 Subject: [PATCH] fix dumb nigger shit --- assets/styles/video/_container.scss | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/assets/styles/video/_container.scss b/assets/styles/video/_container.scss index 60741e1d..c0a0e8c4 100644 --- a/assets/styles/video/_container.scss +++ b/assets/styles/video/_container.scss @@ -34,22 +34,31 @@ /* Media query for mobile devices */ @media only screen and (max-width: 50vw) { - #peertube-plugin-livechat-container { - height: 57vh; /* 100vh - 30vh for video = 70vh remaining */ + #peertube-plugin-livechat-container converse-root { + + converse-muc { + height: 57vh; + /* 100vh - 30vh for video = 70vh remaining */ + } } } /* Media query for tablets in portrait mode */ @media only screen and (min-width: 50vw) and (max-width: 75vw) { - #peertube-plugin-livechat-container { - height: 65vh; /* Slightly less to account for other elements */ + #peertube-plugin-livechat-container converse-root { + converse-muc { + height: 65vh; + /* Slightly less to account for other elements */ + } } } /* Media query for tablets in landscape mode */ @media only screen and (min-width: 76vw) and (max-width: 100vw) { - #peertube-plugin-livechat-container { - height: 70vh; /* Assuming more height can be used */ + #peertube-plugin-livechat-container converse-root { + converse-muc { + height: 70vh; + /* Assuming more height can be used */ + } } -} - +} \ No newline at end of file