diff --git a/index.css b/index.css index 7444ff3..c0cbacb 100644 --- a/index.css +++ b/index.css @@ -7,19 +7,11 @@ body { margin: 0; padding: 0; } -.mj-body { - display: flex; - flex-direction: row; -} -.side-menu { - width: var(--sideMenu); - border-right: 1px dashed lightblue; -} .main-content { - width:calc(100% - var(--sideMenu)); - height: 100%; + width: 100%; } #content { + width: 100%; height: 100%; overflow: auto; } @@ -29,9 +21,6 @@ body { } /* 小于700像素的 */ @media screen and (max-width: 700px) { - .mj-body { - flex-direction: column; - } .side-menu { width: 100%; } @@ -50,13 +39,6 @@ em { font-style: normal; font-weight: bolder; } -.mj-navigate-btn { - position: fixed; - top: 0; - right: 0; - margin-right: 10px; - margin-top: 10px; -} /* chrome浏览器的滚动条大小 */ ::-webkit-scrollbar { width: 2px !important; diff --git a/index.html b/index.html index 8f89878..86fd9d2 100644 --- a/index.html +++ b/index.html @@ -1,36 +1,94 @@ - + -
- - - - - - - - - -