diff --git a/public/css/client.css b/public/css/client.css index ed5c4b0a..a0eaa8d3 100755 --- a/public/css/client.css +++ b/public/css/client.css @@ -1871,8 +1871,8 @@ hr { /* Styles for the dropdown button */ .dropdown-toggle { - background-color: var(--body-bg); /* Change this to your desired button background color */ - color: #fff; /* Change this to your desired text color */ + background-color: var(--body-bg); + color: #fff; border: none; border-radius: 5px; /* padding: 10px 20px; */ @@ -1883,11 +1883,11 @@ hr { .dropdown-menu { display: none; margin-top: 5px; - right: 0; - background-color: var(--body-bg); /* Change this to your desired menu background color */ - box-shadow: var(--box-shadow); - border: none; margin-bottom: 20px; + border: none; + border-radius: 10px; + background-color: var(--body-bg); + box-shadow: var(--box-shadow); } /* Styles for table cell with title (td) */ diff --git a/public/css/landing.css b/public/css/landing.css index 0e5e9d45..86429c76 100755 --- a/public/css/landing.css +++ b/public/css/landing.css @@ -3775,4 +3775,4 @@ img.has-shadow { /* #roomName { text-align: center; justify-content: center; -} */ \ No newline at end of file +} */ diff --git a/public/js/client.js b/public/js/client.js index 9d5a2b7a..6feec9e2 100644 --- a/public/js/client.js +++ b/public/js/client.js @@ -2367,10 +2367,11 @@ function handleDisconnect(reason) { const peerAudioId = peer_id + '___audio'; const peerVideo = getId(peerVideoId); - if (peerVideo) { // Peer video in focus mode + if (peerVideo) { + // Peer video in focus mode if (peerVideo.hasAttribute('focus-mode')) { const remoteVideoFocusBtn = getId(peer_id + '_focusMode'); - if (remoteVideoFocusBtn) { + if (remoteVideoFocusBtn) { remoteVideoFocusBtn.click(); } } @@ -2410,10 +2411,11 @@ function handleRemovePeer(config) { if (peerVideoId in peerVideoMediaElements) { const peerVideo = getId(peerVideoId); - if (peerVideo) { // Peer video in focus mode + if (peerVideo) { + // Peer video in focus mode if (peerVideo.hasAttribute('focus-mode')) { const remoteVideoFocusBtn = getId(peer_id + '_focusMode'); - if (remoteVideoFocusBtn) { + if (remoteVideoFocusBtn) { remoteVideoFocusBtn.click(); } }