diff --git a/src/components/RightContent/index.less b/src/components/RightContent/index.less index fb2df6bc39bbc33b270f48e5ec74f30757316c25..486e80c9be2042e0c5344c28b909c83468ab58f6 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: 0; + } + } + .search { + display: none; + } + } +}