+
{/if}
- {#if $microphoneListStore.length > 1 }
+ {#if $microphoneListStore.length > 1}
+
{/if}
-
-
diff --git a/front/src/Components/EnableCamera/HorizontalSoundMeterWidget.svelte b/front/src/Components/EnableCamera/HorizontalSoundMeterWidget.svelte
index 79ad1810..f5e9439f 100644
--- a/front/src/Components/EnableCamera/HorizontalSoundMeterWidget.svelte
+++ b/front/src/Components/EnableCamera/HorizontalSoundMeterWidget.svelte
@@ -1,7 +1,7 @@
-
{#each [...Array(NB_BARS).keys()] as i (i)}
-
+
{/each}
diff --git a/front/src/Components/HelpCameraSettings/HelpCameraSettingsPopup.svelte b/front/src/Components/HelpCameraSettings/HelpCameraSettingsPopup.svelte
index ed4a84ca..78380174 100644
--- a/front/src/Components/HelpCameraSettings/HelpCameraSettingsPopup.svelte
+++ b/front/src/Components/HelpCameraSettings/HelpCameraSettingsPopup.svelte
@@ -1,9 +1,9 @@
-
-
diff --git a/front/src/Components/Login/LoginScene.svelte b/front/src/Components/Login/LoginScene.svelte
index fe3c2c63..bebc49b6 100644
--- a/front/src/Components/Login/LoginScene.svelte
+++ b/front/src/Components/Login/LoginScene.svelte
@@ -1,22 +1,22 @@
@@ -44,51 +48,58 @@
{mapName}
{mapDescription}
- expandedMapCopyright = !expandedMapCopyright}>Copyrights of the map
- {mapCopyright}
- expandedTilesetCopyright = !expandedTilesetCopyright}>Copyrights of the tilesets
-
+ (expandedMapCopyright = !expandedMapCopyright)}>
+ Copyrights of the map
+
+ {mapCopyright}
+ (expandedTilesetCopyright = !expandedTilesetCopyright)}>
+ Copyrights of the tilesets
+
+
{#each tilesetCopyright as copyright}
{copyright}
{:else}
- The map creator did not declare a copyright for the tilesets. Warning, This doesn't mean that those tilesets have no license.
+
+ The map creator did not declare a copyright for the tilesets. Warning, This doesn't mean that those
+ tilesets have no license.
+
{/each}
-
\ No newline at end of file
+
+ @media only screen and (max-width: 800px), only screen and (max-height: 800px) {
+ div.about-room-main {
+ section.container-overflow {
+ height: calc(100% - 120px);
+ }
+ }
+ }
+
diff --git a/front/src/Components/Menu/AudioGlobalMessage.svelte b/front/src/Components/Menu/AudioGlobalMessage.svelte
index 1704e732..d8f3c932 100644
--- a/front/src/Components/Menu/AudioGlobalMessage.svelte
+++ b/front/src/Components/Menu/AudioGlobalMessage.svelte
@@ -26,31 +26,31 @@
const selectedFile = inputAudio.files ? inputAudio.files[0] : null;
if (!selectedFile) {
errorFile = true;
- throw 'no file selected';
+ throw "no file selected";
}
const fd = new FormData();
- fd.append('file', selectedFile);
+ fd.append("file", selectedFile);
const res = await gameScene.connection?.uploadAudio(fd);
const audioGlobalMessage: PlayGlobalMessageInterface = {
content: (res as { path: string }).path,
type: AUDIO_TYPE,
- broadcastToWorld: broadcast
- }
- inputAudio.value = '';
+ broadcastToWorld: broadcast,
+ };
+ inputAudio.value = "";
gameScene.connection?.emitGlobalMessage(audioGlobalMessage);
- }
- }
+ },
+ };
function inputAudioFile(event: Event) {
- const eventTarget : EventTargetFiles = (event.target as EventTargetFiles);
- if(!eventTarget || !eventTarget.files || eventTarget.files.length === 0){
+ const eventTarget: EventTargetFiles = event.target as EventTargetFiles;
+ if (!eventTarget || !eventTarget.files || eventTarget.files.length === 0) {
return;
}
const file = eventTarget.files[0];
- if(!file) {
+ if (!file) {
return;
}
@@ -61,52 +61,65 @@
function getFileSize(number: number) {
if (number < 1024) {
- return number + 'bytes';
+ return number + "bytes";
} else if (number >= 1024 && number < 1048576) {
- return (number / 1024).toFixed(1) + 'KB';
+ return (number / 1024).toFixed(1) + "KB";
} else if (number >= 1048576) {
- return (number / 1048576).toFixed(1) + 'MB';
+ return (number / 1048576).toFixed(1) + "MB";
} else {
- return '';
+ return "";
}
}
-
\ No newline at end of file
+
diff --git a/front/src/Components/Menu/ContactSubMenu.svelte b/front/src/Components/Menu/ContactSubMenu.svelte
index 3cf1f5fb..a5bf0331 100644
--- a/front/src/Components/Menu/ContactSubMenu.svelte
+++ b/front/src/Components/Menu/ContactSubMenu.svelte
@@ -1,5 +1,4 @@
@@ -18,8 +17,8 @@
Getting started
- WorkAdventure allows you to create an online space to communicate spontaneously with others.
- And it all starts with creating your own space. Choose from a large selection of prefabricated maps by our team.
+ WorkAdventure allows you to create an online space to communicate spontaneously with others. And it all
+ starts with creating your own space. Choose from a large selection of prefabricated maps by our team.
@@ -30,35 +29,37 @@
-
+
\ No newline at end of file
+
diff --git a/front/src/Components/Menu/CustomSubMenu.svelte b/front/src/Components/Menu/CustomSubMenu.svelte
index f85499c3..33a381dd 100644
--- a/front/src/Components/Menu/CustomSubMenu.svelte
+++ b/front/src/Components/Menu/CustomSubMenu.svelte
@@ -1,33 +1,32 @@
-
-
+
\ No newline at end of file
+ iframe {
+ border: none;
+ height: calc(100% - 56px);
+ width: 100%;
+ margin: 0;
+ }
+
diff --git a/front/src/Components/Menu/GlobalMessagesSubMenu.svelte b/front/src/Components/Menu/GlobalMessagesSubMenu.svelte
index 8ec66de9..524e5e50 100644
--- a/front/src/Components/Menu/GlobalMessagesSubMenu.svelte
+++ b/front/src/Components/Menu/GlobalMessagesSubMenu.svelte
@@ -1,6 +1,6 @@
-
-
+
-