From 7128e9d012ebadd380e802f9cdcdc9cdfaca0d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=A8=81?= Date: Sun, 4 Jul 2021 18:23:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B0=8F=E5=B1=8F=E5=B9=95?= =?UTF-8?q?=E4=B8=8B=20=E5=A4=B4=E5=83=8F=E5=8F=98=E5=BD=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/ant-design/ant-design-pro/issues/8667 --- src/components/RightContent/index.less | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/components/RightContent/index.less b/src/components/RightContent/index.less index fb2df6bc..1ad28563 100644 --- a/src/components/RightContent/index.less +++ b/src/components/RightContent/index.less @@ -60,3 +60,25 @@ } } } + +@media only screen and (max-width: @screen-md) { + :global(.ant-divider-vertical) { + vertical-align: unset; + } + .name { + display: none; + } + .right { + position: absolute; + top: 0; + right: 12px; + .account { + .avatar { + margin-right: 3px; + } + } + .search { + display: none; + } + } +}