From 3e08ef1abd23c5fef0a93c79e5f5686e29d242d7 Mon Sep 17 00:00:00 2001 From: qsc <3153284618@qq.com> Date: Thu, 13 Jul 2023 20:48:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=AE=E5=8A=A9=E6=96=87=E6=A1=A3=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E9=A1=B5=E9=9D=A2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/article/doc/web.module.less | 34 +++++++++++++------------- lib/pages/article/list/web.module.less | 28 ++++++++++----------- src/pages/article/doc/web.module.less | 34 +++++++++++++------------- src/pages/article/list/web.module.less | 28 ++++++++++----------- 4 files changed, 62 insertions(+), 62 deletions(-) diff --git a/lib/pages/article/doc/web.module.less b/lib/pages/article/doc/web.module.less index acf930d99..d0bf77e3f 100644 --- a/lib/pages/article/doc/web.module.less +++ b/lib/pages/article/doc/web.module.less @@ -51,8 +51,8 @@ .tree { :global { .ant-tree-title { - display: flex; - flex: 1; + display: flex !important; + flex: 1 !important; } } } @@ -73,12 +73,12 @@ :global { .ant-layout-sider-children { // height: calc(100% - 48px); - height: 100%; - overflow-y: auto; + height: 100% !important; + overflow-y: auto !important; .ant-menu-inline { - border: none; + border: none !important; } } } @@ -119,38 +119,38 @@ :global { .ant-layout-sider-children{ .ant-menu-inline { - border-inline-end: 0px; + border-inline-end: 0px !important; } } .ant-menu-submenu-title { - display: flex; - flex-direction: row-reverse; - margin-block: 0; + display: flex !important; + flex-direction: row-reverse !important; + margin-block: 0 !important; } .ant-menu-submenu-selected >.ant-menu-submenu-title { - color: #000 + color: #000 !important; } .ant-menu-submenu-title:hover:not(.ant-menu-item-selected) { - background: #ffffff; + background: #ffffff !important; } .ant-menu-title-content:hover { - color: #999; + color: #999 !important; } .ant-menu-submenu-arrow { - position: unset; + position: unset !important; } .ant-menu-submenu-title > .ant-menu-submenu-arrow::before { - transform: rotate(135deg) translateX(2.5px); + transform: rotate(135deg) translateX(2.5px) !important; } .ant-menu-submenu-arrow::after { - transform: rotate(45deg) translatex(-2.5px); + transform: rotate(45deg) translatex(-2.5px) !important; } .ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::before { - transform: rotate(225deg) translatex(2.5px); + transform: rotate(225deg) translatex(2.5px) !important; } .ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::after { - transform: rotate(135deg) translatex(-2.5px); + transform: rotate(135deg) translatex(-2.5px) !important; } } } diff --git a/lib/pages/article/list/web.module.less b/lib/pages/article/list/web.module.less index a21785cb1..7e6b2b31a 100644 --- a/lib/pages/article/list/web.module.less +++ b/lib/pages/article/list/web.module.less @@ -78,12 +78,12 @@ :global { .ant-layout-sider-children { // height: calc(100% - 48px); - height: 100%; + height: 100% !important; overflow-y: auto; .ant-menu-inline { - border: none; + border: none !important; } } } @@ -101,41 +101,41 @@ :global { .ant-layout-sider-children{ .ant-menu-inline { - border-inline-end: 0px; + border-inline-end: 0px !important; } } .ant-menu-submenu-title { - display: flex; - flex-direction: row-reverse; - margin-block: 0; + display: flex !important; + flex-direction: row-reverse !important; + margin-block: 0 !important; } .ant-menu-title-content { } .ant-menu-submenu-selected >.ant-menu-submenu-title { - color: #000 + color: #000 !important; } .ant-menu-submenu-title:hover:not(.ant-menu-item-selected) { - background: #ffffff; + background: #ffffff !important; } .ant-menu-title-content:hover { - color: #999; + color: #999 !important; } .ant-menu-submenu-arrow { - position: unset; + position: unset !important; } .ant-menu-submenu-title > .ant-menu-submenu-arrow::before { - transform: rotate(135deg) translateX(2.5px); + transform: rotate(135deg) translateX(2.5px) !important; } .ant-menu-submenu-arrow::after { - transform: rotate(45deg) translatex(-2.5px); + transform: rotate(45deg) translatex(-2.5px) !important; } .ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::before { - transform: rotate(225deg) translatex(2.5px); + transform: rotate(225deg) translatex(2.5px) !important; } .ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::after { - transform: rotate(135deg) translatex(-2.5px); + transform: rotate(135deg) translatex(-2.5px) !important; } } } \ No newline at end of file diff --git a/src/pages/article/doc/web.module.less b/src/pages/article/doc/web.module.less index acf930d99..d0bf77e3f 100644 --- a/src/pages/article/doc/web.module.less +++ b/src/pages/article/doc/web.module.less @@ -51,8 +51,8 @@ .tree { :global { .ant-tree-title { - display: flex; - flex: 1; + display: flex !important; + flex: 1 !important; } } } @@ -73,12 +73,12 @@ :global { .ant-layout-sider-children { // height: calc(100% - 48px); - height: 100%; - overflow-y: auto; + height: 100% !important; + overflow-y: auto !important; .ant-menu-inline { - border: none; + border: none !important; } } } @@ -119,38 +119,38 @@ :global { .ant-layout-sider-children{ .ant-menu-inline { - border-inline-end: 0px; + border-inline-end: 0px !important; } } .ant-menu-submenu-title { - display: flex; - flex-direction: row-reverse; - margin-block: 0; + display: flex !important; + flex-direction: row-reverse !important; + margin-block: 0 !important; } .ant-menu-submenu-selected >.ant-menu-submenu-title { - color: #000 + color: #000 !important; } .ant-menu-submenu-title:hover:not(.ant-menu-item-selected) { - background: #ffffff; + background: #ffffff !important; } .ant-menu-title-content:hover { - color: #999; + color: #999 !important; } .ant-menu-submenu-arrow { - position: unset; + position: unset !important; } .ant-menu-submenu-title > .ant-menu-submenu-arrow::before { - transform: rotate(135deg) translateX(2.5px); + transform: rotate(135deg) translateX(2.5px) !important; } .ant-menu-submenu-arrow::after { - transform: rotate(45deg) translatex(-2.5px); + transform: rotate(45deg) translatex(-2.5px) !important; } .ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::before { - transform: rotate(225deg) translatex(2.5px); + transform: rotate(225deg) translatex(2.5px) !important; } .ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::after { - transform: rotate(135deg) translatex(-2.5px); + transform: rotate(135deg) translatex(-2.5px) !important; } } } diff --git a/src/pages/article/list/web.module.less b/src/pages/article/list/web.module.less index a21785cb1..7e6b2b31a 100644 --- a/src/pages/article/list/web.module.less +++ b/src/pages/article/list/web.module.less @@ -78,12 +78,12 @@ :global { .ant-layout-sider-children { // height: calc(100% - 48px); - height: 100%; + height: 100% !important; overflow-y: auto; .ant-menu-inline { - border: none; + border: none !important; } } } @@ -101,41 +101,41 @@ :global { .ant-layout-sider-children{ .ant-menu-inline { - border-inline-end: 0px; + border-inline-end: 0px !important; } } .ant-menu-submenu-title { - display: flex; - flex-direction: row-reverse; - margin-block: 0; + display: flex !important; + flex-direction: row-reverse !important; + margin-block: 0 !important; } .ant-menu-title-content { } .ant-menu-submenu-selected >.ant-menu-submenu-title { - color: #000 + color: #000 !important; } .ant-menu-submenu-title:hover:not(.ant-menu-item-selected) { - background: #ffffff; + background: #ffffff !important; } .ant-menu-title-content:hover { - color: #999; + color: #999 !important; } .ant-menu-submenu-arrow { - position: unset; + position: unset !important; } .ant-menu-submenu-title > .ant-menu-submenu-arrow::before { - transform: rotate(135deg) translateX(2.5px); + transform: rotate(135deg) translateX(2.5px) !important; } .ant-menu-submenu-arrow::after { - transform: rotate(45deg) translatex(-2.5px); + transform: rotate(45deg) translatex(-2.5px) !important; } .ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::before { - transform: rotate(225deg) translatex(2.5px); + transform: rotate(225deg) translatex(2.5px) !important; } .ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow::after { - transform: rotate(135deg) translatex(-2.5px); + transform: rotate(135deg) translatex(-2.5px) !important; } } } \ No newline at end of file