2024-12-01
diff --git a/static/js/script.js b/static/js/script.js
index 4c06d93..574e484 100644
--- a/static/js/script.js
+++ b/static/js/script.js
@@ -218,8 +218,8 @@ shareButton.addEventListener('click', () => {
});
document.getElementById('volume_button').addEventListener('click', () => {
- const muteIconClass = 'fas fa-volume-mute';
- const unmuteIconClass = 'fas fa-volume-up';
+ const muteIcon = '🔇';
+ const unmuteIcon = '🔊';
store.isMute = !store.isMute;
if (!store.isMute) {
store.audioInstance = new Audio('/sound/pochi.wav');
@@ -227,7 +227,7 @@ document.getElementById('volume_button').addEventListener('click', () => {
} else {
store.audioInstance = null;
}
- document.getElementById('volume_button_icon').className = store.isMute ? muteIconClass : unmuteIconClass;
+ document.getElementById('volume_button').innerText = store.isMute ? muteIcon : unmuteIcon;
});
const simpleBackgroundList = [
diff --git a/static/session.html b/static/session.html
index 74bf6dc..90e3893 100644
--- a/static/session.html
+++ b/static/session.html
@@ -3,7 +3,6 @@
-
@@ -76,17 +75,17 @@
diff --git a/static/style/session.css b/static/style/session.css
index 37f86ca..e963ebc 100644
--- a/static/style/session.css
+++ b/static/style/session.css
@@ -326,6 +326,7 @@ body {
.controllers__button {
border: 0 none;
+ font-size: 1.4rem;
border-radius: 4px;
padding: 10px;
height: 100%;