From 81f58ed3b522550ec3462d90fd8c7d20e9cffaa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Sat, 3 Feb 2024 14:47:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/style.css | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 3822b37..9e40f2f 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -54,14 +54,14 @@ th, td { padding: 0; } - +@media (max-width: 767px) { html, body { background: #f4f8f9; - width: 100%; + width: 1500px; height: 100%; font-size: 14px; - overflow: hidden; + overflow: auto; /* float: left; */ /* -webkit-touch-callout: none; */ /* iOS Safari */ @@ -77,6 +77,35 @@ body { /* Non-prefixed version, currently*/ font-family: "Microsoft YaHei"; } +} +.el-table__body{ + width: auto !important; +} + +@media (min-width: 768px) { + html, + body { + background: #f4f8f9; + width: 100%; + height: 100%; + font-size: 14px; + overflow: auto; + /* float: left; */ + /* -webkit-touch-callout: none; */ + /* iOS Safari */ + /* -webkit-user-select: none; */ + /* Chrome/Safari/Opera */ + /* -khtml-user-select: none; */ + /* Konqueror */ + /* -moz-user-select: none; */ + /* Firefox */ + /* -ms-user-select: none; */ + /* Internet Explorer/Edge */ + /* user-select: none; */ + /* Non-prefixed version, currently*/ + font-family: "Microsoft YaHei"; + } + } body { overflow-x: auto;