diff --git a/src/routes/List/BasicList.less b/src/routes/List/BasicList.less index e530c2ff0e8238ce915b8c257747ced9963f4986..cd172721c902761ed645aa832b83d08b7e7b9a8e 100644 --- a/src/routes/List/BasicList.less +++ b/src/routes/List/BasicList.less @@ -59,6 +59,27 @@ } } +@media screen and (max-width: @screen-xs) { + .standardList { + :global { + .ant-list-item-content { + display: block; + flex: none; + width: 100%; + } + .ant-list-item-action { + margin-left: 0; + } + } + .listContent { + margin-left: 0; + & > div { + margin-left: 0; + } + } + } +} + @media screen and (max-width: @screen-sm) { .standardList { .extraContentSearch { diff --git a/src/routes/List/SearchList.less b/src/routes/List/SearchList.less index 87ef3d773e7c25f3738a3d141a199c4d9c27b3b9..2e23c022ca4ab530cfa172a2f72d3af49d1ba21f 100644 --- a/src/routes/List/SearchList.less +++ b/src/routes/List/SearchList.less @@ -37,6 +37,13 @@ height: 1px; } +@media screen and (max-width: @screen-xs) { + .listContent { + & > div { + height: auto; + } + } +} @media screen and (max-width: @screen-lg) { .listItemExtra { width: 0;