diff --git a/.env.template b/.env.template index 1a129138..4b7d36cb 100644 --- a/.env.template +++ b/.env.template @@ -1,5 +1,5 @@ # ==================================================== -# MiroTalk P2P v.1.6.69 - Environment Configuration +# MiroTalk P2P v.1.6.70 - Environment Configuration # ==================================================== # App environment diff --git a/app/src/config.template.js b/app/src/config.template.js index 45031a2d..17fba182 100644 --- a/app/src/config.template.js +++ b/app/src/config.template.js @@ -2,7 +2,7 @@ /** * ============================================== - * MiroTalk P2P v.1.6.69 - Configuration File + * MiroTalk P2P v.1.6.70 - Configuration File * ============================================== * * Branding and customizations require a license: diff --git a/app/src/server.js b/app/src/server.js index 2af92ae3..0b27fcf2 100755 --- a/app/src/server.js +++ b/app/src/server.js @@ -45,7 +45,7 @@ dependencies: { * @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.6.69 + * @version 1.6.70 * */ diff --git a/package-lock.json b/package-lock.json index 9ad94ab1..9dac37fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mirotalk", - "version": "1.6.69", + "version": "1.6.70", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mirotalk", - "version": "1.6.69", + "version": "1.6.70", "license": "AGPL-3.0", "dependencies": { "@mattermost/client": "11.1.0", diff --git a/package.json b/package.json index d6df246f..9894f49f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirotalk", - "version": "1.6.69", + "version": "1.6.70", "description": "A free WebRTC browser-based video call", "main": "server.js", "scripts": { diff --git a/public/css/client.css b/public/css/client.css index f824c03c..a8453d0a 100755 --- a/public/css/client.css +++ b/public/css/client.css @@ -27,8 +27,8 @@ --iframe-height: 480px; /* whiteboard resize */ - --wb-width: 800px; - --wb-height: 600px; + --wb-width: 1920px; + --wb-height: 1080px; /* my settings */ --mySettings-select-w: 100%; diff --git a/public/css/whiteboard.css b/public/css/whiteboard.css index 39129faf..b5c891df 100644 --- a/public/css/whiteboard.css +++ b/public/css/whiteboard.css @@ -7,8 +7,10 @@ position: fixed; margin: auto; padding: 10px; - width: var(--wb-width); - height: var(--wb-height); + width: calc(var(--wb-width) * 1px); + height: calc(var(--wb-height) * 1px); + max-width: 100vw; + max-height: 100vh; background: var(--wb-bg); border: var(--border); box-shadow: var(--box-shadow); @@ -27,7 +29,34 @@ -webkit-animation-duration: 1s; -moz-animation-duration: 1s; animation-duration: 1s; - overflow: hidden; + overflow: visible; + box-sizing: border-box; +} + +/* Mobile optimizations */ +@media (max-width: 768px) { + #whiteboard { + padding: 5px; + border-radius: 5px; + } + + .whiteboard-header { + padding: 2px; + } + + .whiteboard-header-title button, + .whiteboard-header-options button { + padding: 5px; + font-size: 0.75rem; + min-width: 28px; + height: 28px; + } + + .whiteboardColorPicker { + width: 16px; + height: 12px; + margin: 1px; + } } .whiteboard-header { @@ -45,6 +74,11 @@ align-items: center; } +.whiteboard-header-options { + display: flex; + align-items: center; +} + #whiteboardUnlockBtn, #whiteboardLockBtn { display: none; diff --git a/public/js/brand.js b/public/js/brand.js index 982de08b..84d06501 100644 --- a/public/js/brand.js +++ b/public/js/brand.js @@ -77,7 +77,7 @@ let brand = { }, about: { imageUrl: '../images/mirotalk-logo.gif', - title: 'WebRTC P2P v1.6.69', + title: 'WebRTC P2P v1.6.70', html: `