From 36e8a587f04f8f250643cb0fe93f1c826a8a6518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BA=E7=8B=A8?= <18119604035@163.com> Date: Wed, 22 Mar 2023 16:56:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E6=9C=80=E5=B0=8F=E5=AE=BD?= =?UTF-8?q?=E5=BA=A61600px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/course/index.tsx | 1 - src/pages/home/index.module.less | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/course/index.tsx b/src/pages/course/index.tsx index a596278..cd9864c 100644 --- a/src/pages/course/index.tsx +++ b/src/pages/course/index.tsx @@ -164,7 +164,6 @@ export const CoursePage = () => { { title: "创建时间", dataIndex: "created_at", - width: 200, render: (text: string) => {dateFormat(text)}, }, { diff --git a/src/pages/home/index.module.less b/src/pages/home/index.module.less index facd507..89e6a59 100644 --- a/src/pages/home/index.module.less +++ b/src/pages/home/index.module.less @@ -5,6 +5,8 @@ right: 0; bottom: 0; display: flex; + overflow-y: hidden; + overflow-x: auto; .left-menu { width: 200px; height: 100%; @@ -15,6 +17,7 @@ display: flex; flex-direction: column; background-color: #f6f6f6; + .right-top { width: 100%; height: 48px; @@ -24,6 +27,7 @@ } .right-main { width: 100%; + min-width: 1400px; height: auto; box-sizing: border-box; -moz-box-sizing: border-box;