diff --git a/web/src/components/LogsTable.js b/web/src/components/LogsTable.js index f43e994e..a485f86d 100644 --- a/web/src/components/LogsTable.js +++ b/web/src/components/LogsTable.js @@ -376,7 +376,7 @@ const LogsTable = () => { onClick={() => { sortLog('model_name'); }} - width={2} + width={3} > 模型 @@ -412,7 +412,7 @@ const LogsTable = () => { onClick={() => { sortLog('content'); }} - width={isAdminUser ? 4 : 6} + width={isAdminUser ? 3 : 5} > 详情 diff --git a/web/src/custom.css b/web/src/custom.css new file mode 100644 index 00000000..d324727e --- /dev/null +++ b/web/src/custom.css @@ -0,0 +1,9 @@ +.custom-width .ui.container { + width: 100vw !important; + padding: 0 !important; + } + + .custom-width .ui.menu { + margin-bottom: 0 !important; + } + \ No newline at end of file diff --git a/web/src/index.css b/web/src/index.css index bc2bb7bf..c7020d59 100644 --- a/web/src/index.css +++ b/web/src/index.css @@ -207,4 +207,14 @@ code { .hide-on-mobile { display: none !important; } -} \ No newline at end of file +} +@media only screen and (min-width: 1600px){ +.main-content { + width: 1300px !important; +} +.ui.menu .ui.container { + width: 1608px !important; /* 或者你想要设置的宽度 */ + /* padding: 0 !important; */ + } +} +