diff --git a/src/common/common.css b/src/common/common.css
index 08c72aa2..a7fe049c 100644
--- a/src/common/common.css
+++ b/src/common/common.css
@@ -27,22 +27,17 @@ input[type="range"]::-webkit-slider-runnable-track {
.left {
position: relative;
- flex: 0 0 240px;
- max-width: 240px;
- min-width: 240px;
height: 100vh;
box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.08);
overflow-y: auto;
- overflow-x: hidden;
+ overflow-x: scroll;
}
.right {
- position: relative;
flex: 1 1 880px;
- max-width: 880px;
+ /* max-width: 880px; */
background-color: #f2f7f8;
- padding-top: 1rem;
- padding-bottom: 1rem;
+ padding: 1rem;
height: 100vh;
overflow-y: auto;
}
@@ -118,7 +113,7 @@ input[type="range"]::-webkit-slider-runnable-track {
margin-bottom: 0.25rem !important;
padding: 0.25rem 0.5rem;
font-weight: 600;
- color: rgba(0, 0, 0, 0.85);
+ /* color: rgba(0, 0, 0, 0.85); */
}
.triangle {
@@ -160,7 +155,7 @@ input[type="range"]::-webkit-slider-runnable-track {
}
.sidebar-top a {
- display: inline-block;
+ /* display: inline-block; */
}
.sidebar-item {
@@ -470,3 +465,8 @@ button#join, button#leave {
margin-top: 0.5rem !important;
}
}
+
+
+.finder {
+ border: 5px solid red;
+}
diff --git a/src/common/left-menu.js b/src/common/left-menu.js
index 76f3b104..b9c6e02b 100644
--- a/src/common/left-menu.js
+++ b/src/common/left-menu.js
@@ -7,27 +7,28 @@ function __isSmallScreen() {
const windowWidth = $(window).width();
return windowWidth <= SM_WIDTH;
}
-
function __transListToMenuDom(list) {
return list
.map((item) => {
- return `
`;
+ return `
+
+ `;
})
.join("");
}
@@ -44,21 +45,22 @@ function __initMenu() {
logoImgSrc = `${ORIGIN_URL}/assets/agora-logo-zh.png`;
}
let logoHtml = `
`;
- let menuHtml = `
-
- `;
+ let menuHtml = `
+
+ `;
+ menuHtml = `${leftNav()}`;
if (__isSmallScreen()) {
menuHtml = `